{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {
    "deletable": true,
    "editable": true
   },
   "source": [
    "# HAR CNN training "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": false,
    "deletable": true,
    "editable": true
   },
   "outputs": [],
   "source": [
    "# Imports\n",
    "import numpy as np\n",
    "import os\n",
    "from utils.utilities import *\n",
    "from sklearn.model_selection import train_test_split\n",
    "import matplotlib.pyplot as plt\n",
    "%matplotlib inline"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "deletable": true,
    "editable": true
   },
   "source": [
    "## Prepare data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": false,
    "deletable": true,
    "editable": true,
    "scrolled": true
   },
   "outputs": [],
   "source": [
    "X_train, labels_train, list_ch_train = read_data(data_path=\"./data/\", split=\"train\") # train\n",
    "X_test, labels_test, list_ch_test = read_data(data_path=\"./data/\", split=\"test\") # test\n",
    "\n",
    "assert list_ch_train == list_ch_test, \"Mistmatch in channels!\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": false,
    "deletable": true,
    "editable": true
   },
   "outputs": [],
   "source": [
    "# Normalize?\n",
    "X_train, X_test = standardize(X_train, X_test)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "deletable": true,
    "editable": true
   },
   "source": [
    "Train/Validation Split"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": true,
    "deletable": true,
    "editable": true
   },
   "outputs": [],
   "source": [
    "X_tr, X_vld, lab_tr, lab_vld = train_test_split(X_train, labels_train, \n",
    "                                                stratify = labels_train, random_state = 123)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "deletable": true,
    "editable": true
   },
   "source": [
    "One-hot encoding:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "collapsed": true,
    "deletable": true,
    "editable": true
   },
   "outputs": [],
   "source": [
    "y_tr = one_hot(lab_tr)\n",
    "y_vld = one_hot(lab_vld)\n",
    "y_test = one_hot(labels_test)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "collapsed": true,
    "deletable": true,
    "editable": true
   },
   "outputs": [],
   "source": [
    "# Imports\n",
    "import tensorflow as tf"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "deletable": true,
    "editable": true
   },
   "source": [
    "### Hyperparameters"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "collapsed": true,
    "deletable": true,
    "editable": true
   },
   "outputs": [],
   "source": [
    "batch_size = 600       # Batch size\n",
    "seq_len = 128          # Number of steps\n",
    "learning_rate = 0.0001\n",
    "epochs = 1000\n",
    "\n",
    "n_classes = 6\n",
    "n_channels = 9"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "deletable": true,
    "editable": true
   },
   "source": [
    "### Construct the graph\n",
    "Placeholders"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "collapsed": false,
    "deletable": true,
    "editable": true
   },
   "outputs": [],
   "source": [
    "graph = tf.Graph()\n",
    "\n",
    "# Construct placeholders\n",
    "with graph.as_default():\n",
    "    inputs_ = tf.placeholder(tf.float32, [None, seq_len, n_channels], name = 'inputs')\n",
    "    labels_ = tf.placeholder(tf.float32, [None, n_classes], name = 'labels')\n",
    "    keep_prob_ = tf.placeholder(tf.float32, name = 'keep')\n",
    "    learning_rate_ = tf.placeholder(tf.float32, name = 'learning_rate')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "deletable": true,
    "editable": true
   },
   "source": [
    "Build Convolutional Layers\n",
    "\n",
    "Note: Should we use a different activation? Like tf.nn.tanh?"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "collapsed": true,
    "deletable": true,
    "editable": true
   },
   "outputs": [],
   "source": [
    "with graph.as_default():\n",
    "    # (batch, 128, 9) --> (batch, 64, 18)\n",
    "    conv1 = tf.layers.conv1d(inputs=inputs_, filters=18, kernel_size=2, strides=1, \n",
    "                             padding='same', activation = tf.nn.relu)\n",
    "    max_pool_1 = tf.layers.max_pooling1d(inputs=conv1, pool_size=2, strides=2, padding='same')\n",
    "    \n",
    "    # (batch, 64, 18) --> (batch, 32, 36)\n",
    "    conv2 = tf.layers.conv1d(inputs=max_pool_1, filters=36, kernel_size=2, strides=1, \n",
    "                             padding='same', activation = tf.nn.relu)\n",
    "    max_pool_2 = tf.layers.max_pooling1d(inputs=conv2, pool_size=2, strides=2, padding='same')\n",
    "    \n",
    "    # (batch, 32, 36) --> (batch, 16, 72)\n",
    "    conv3 = tf.layers.conv1d(inputs=max_pool_2, filters=72, kernel_size=2, strides=1, \n",
    "                             padding='same', activation = tf.nn.relu)\n",
    "    max_pool_3 = tf.layers.max_pooling1d(inputs=conv3, pool_size=2, strides=2, padding='same')\n",
    "    \n",
    "    # (batch, 16, 72) --> (batch, 8, 144)\n",
    "    conv4 = tf.layers.conv1d(inputs=max_pool_3, filters=144, kernel_size=2, strides=1, \n",
    "                             padding='same', activation = tf.nn.relu)\n",
    "    max_pool_4 = tf.layers.max_pooling1d(inputs=conv4, pool_size=2, strides=2, padding='same')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "deletable": true,
    "editable": true
   },
   "source": [
    "Now, flatten and pass to the classifier"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "collapsed": true,
    "deletable": true,
    "editable": true
   },
   "outputs": [],
   "source": [
    "with graph.as_default():\n",
    "    # Flatten and add dropout\n",
    "    flat = tf.reshape(max_pool_4, (-1, 8*144))\n",
    "    flat = tf.nn.dropout(flat, keep_prob=keep_prob_)\n",
    "    \n",
    "    # Predictions\n",
    "    logits = tf.layers.dense(flat, n_classes)\n",
    "    \n",
    "    # Cost function and optimizer\n",
    "    cost = tf.reduce_mean(tf.nn.softmax_cross_entropy_with_logits(logits=logits, labels=labels_))\n",
    "    optimizer = tf.train.AdamOptimizer(learning_rate_).minimize(cost)\n",
    "    \n",
    "    # Accuracy\n",
    "    correct_pred = tf.equal(tf.argmax(logits, 1), tf.argmax(labels_, 1))\n",
    "    accuracy = tf.reduce_mean(tf.cast(correct_pred, tf.float32), name='accuracy')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "deletable": true,
    "editable": true
   },
   "source": [
    "### Train the network"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {
    "collapsed": false,
    "deletable": true,
    "editable": true
   },
   "outputs": [],
   "source": [
    "if (os.path.exists('checkpoints-cnn') == False):\n",
    "    !mkdir checkpoints-cnn"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {
    "collapsed": false,
    "deletable": true,
    "editable": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Epoch: 0/1000 Iteration: 5 Train loss: 1.805539 Train acc: 0.175000\n",
      "Epoch: 1/1000 Iteration: 10 Train loss: 1.752156 Train acc: 0.213333\n",
      "Epoch: 1/1000 Iteration: 10 Validation loss: 1.731410 Validation acc: 0.242778\n",
      "Epoch: 1/1000 Iteration: 15 Train loss: 1.717095 Train acc: 0.186667\n",
      "Epoch: 2/1000 Iteration: 20 Train loss: 1.689471 Train acc: 0.210000\n",
      "Epoch: 2/1000 Iteration: 20 Validation loss: 1.670297 Validation acc: 0.178889\n",
      "Epoch: 2/1000 Iteration: 25 Train loss: 1.670956 Train acc: 0.183333\n",
      "Epoch: 3/1000 Iteration: 30 Train loss: 1.643886 Train acc: 0.205000\n",
      "Epoch: 3/1000 Iteration: 30 Validation loss: 1.622423 Validation acc: 0.191111\n",
      "Epoch: 3/1000 Iteration: 35 Train loss: 1.608606 Train acc: 0.221667\n",
      "Epoch: 4/1000 Iteration: 40 Train loss: 1.592912 Train acc: 0.233333\n",
      "Epoch: 4/1000 Iteration: 40 Validation loss: 1.579607 Validation acc: 0.311111\n",
      "Epoch: 4/1000 Iteration: 45 Train loss: 1.582414 Train acc: 0.263333\n",
      "Epoch: 5/1000 Iteration: 50 Train loss: 1.555073 Train acc: 0.311667\n",
      "Epoch: 5/1000 Iteration: 50 Validation loss: 1.536482 Validation acc: 0.364444\n",
      "Epoch: 6/1000 Iteration: 55 Train loss: 1.544538 Train acc: 0.310000\n",
      "Epoch: 6/1000 Iteration: 60 Train loss: 1.523798 Train acc: 0.348333\n",
      "Epoch: 6/1000 Iteration: 60 Validation loss: 1.489720 Validation acc: 0.390556\n",
      "Epoch: 7/1000 Iteration: 65 Train loss: 1.466882 Train acc: 0.408333\n",
      "Epoch: 7/1000 Iteration: 70 Train loss: 1.455701 Train acc: 0.401667\n",
      "Epoch: 7/1000 Iteration: 70 Validation loss: 1.437126 Validation acc: 0.452778\n",
      "Epoch: 8/1000 Iteration: 75 Train loss: 1.438594 Train acc: 0.418333\n",
      "Epoch: 8/1000 Iteration: 80 Train loss: 1.399036 Train acc: 0.458333\n",
      "Epoch: 8/1000 Iteration: 80 Validation loss: 1.377669 Validation acc: 0.514444\n",
      "Epoch: 9/1000 Iteration: 85 Train loss: 1.375954 Train acc: 0.476667\n",
      "Epoch: 9/1000 Iteration: 90 Train loss: 1.359994 Train acc: 0.500000\n",
      "Epoch: 9/1000 Iteration: 90 Validation loss: 1.311732 Validation acc: 0.608889\n",
      "Epoch: 10/1000 Iteration: 95 Train loss: 1.268594 Train acc: 0.585000\n",
      "Epoch: 11/1000 Iteration: 100 Train loss: 1.265773 Train acc: 0.578333\n",
      "Epoch: 11/1000 Iteration: 100 Validation loss: 1.241421 Validation acc: 0.688889\n",
      "Epoch: 11/1000 Iteration: 105 Train loss: 1.244738 Train acc: 0.588333\n",
      "Epoch: 12/1000 Iteration: 110 Train loss: 1.181850 Train acc: 0.651667\n",
      "Epoch: 12/1000 Iteration: 110 Validation loss: 1.170126 Validation acc: 0.735556\n",
      "Epoch: 12/1000 Iteration: 115 Train loss: 1.148363 Train acc: 0.668333\n",
      "Epoch: 13/1000 Iteration: 120 Train loss: 1.159456 Train acc: 0.633333\n",
      "Epoch: 13/1000 Iteration: 120 Validation loss: 1.100748 Validation acc: 0.763333\n",
      "Epoch: 13/1000 Iteration: 125 Train loss: 1.112006 Train acc: 0.690000\n",
      "Epoch: 14/1000 Iteration: 130 Train loss: 1.107815 Train acc: 0.681667\n",
      "Epoch: 14/1000 Iteration: 130 Validation loss: 1.034850 Validation acc: 0.791667\n",
      "Epoch: 14/1000 Iteration: 135 Train loss: 1.075587 Train acc: 0.708333\n",
      "Epoch: 15/1000 Iteration: 140 Train loss: 0.976311 Train acc: 0.733333\n",
      "Epoch: 15/1000 Iteration: 140 Validation loss: 0.970389 Validation acc: 0.815000\n",
      "Epoch: 16/1000 Iteration: 145 Train loss: 0.963437 Train acc: 0.738333\n",
      "Epoch: 16/1000 Iteration: 150 Train loss: 0.937414 Train acc: 0.740000\n",
      "Epoch: 16/1000 Iteration: 150 Validation loss: 0.905457 Validation acc: 0.833333\n",
      "Epoch: 17/1000 Iteration: 155 Train loss: 0.895568 Train acc: 0.768333\n",
      "Epoch: 17/1000 Iteration: 160 Train loss: 0.863772 Train acc: 0.758333\n",
      "Epoch: 17/1000 Iteration: 160 Validation loss: 0.839519 Validation acc: 0.849444\n",
      "Epoch: 18/1000 Iteration: 165 Train loss: 0.876391 Train acc: 0.745000\n",
      "Epoch: 18/1000 Iteration: 170 Train loss: 0.822799 Train acc: 0.786667\n",
      "Epoch: 18/1000 Iteration: 170 Validation loss: 0.772957 Validation acc: 0.855000\n",
      "Epoch: 19/1000 Iteration: 175 Train loss: 0.814948 Train acc: 0.768333\n",
      "Epoch: 19/1000 Iteration: 180 Train loss: 0.783980 Train acc: 0.781667\n",
      "Epoch: 19/1000 Iteration: 180 Validation loss: 0.707324 Validation acc: 0.867222\n",
      "Epoch: 20/1000 Iteration: 185 Train loss: 0.705455 Train acc: 0.788333\n",
      "Epoch: 21/1000 Iteration: 190 Train loss: 0.679272 Train acc: 0.798333\n",
      "Epoch: 21/1000 Iteration: 190 Validation loss: 0.644737 Validation acc: 0.875000\n",
      "Epoch: 21/1000 Iteration: 195 Train loss: 0.649726 Train acc: 0.816667\n",
      "Epoch: 22/1000 Iteration: 200 Train loss: 0.623432 Train acc: 0.813333\n",
      "Epoch: 22/1000 Iteration: 200 Validation loss: 0.587561 Validation acc: 0.883333\n",
      "Epoch: 22/1000 Iteration: 205 Train loss: 0.608046 Train acc: 0.821667\n",
      "Epoch: 23/1000 Iteration: 210 Train loss: 0.607412 Train acc: 0.815000\n",
      "Epoch: 23/1000 Iteration: 210 Validation loss: 0.535979 Validation acc: 0.888333\n",
      "Epoch: 23/1000 Iteration: 215 Train loss: 0.584771 Train acc: 0.815000\n",
      "Epoch: 24/1000 Iteration: 220 Train loss: 0.573404 Train acc: 0.831667\n",
      "Epoch: 24/1000 Iteration: 220 Validation loss: 0.490420 Validation acc: 0.891667\n",
      "Epoch: 24/1000 Iteration: 225 Train loss: 0.526487 Train acc: 0.856667\n",
      "Epoch: 25/1000 Iteration: 230 Train loss: 0.485909 Train acc: 0.851667\n",
      "Epoch: 25/1000 Iteration: 230 Validation loss: 0.450942 Validation acc: 0.895000\n",
      "Epoch: 26/1000 Iteration: 235 Train loss: 0.478576 Train acc: 0.841667\n",
      "Epoch: 26/1000 Iteration: 240 Train loss: 0.447186 Train acc: 0.876667\n",
      "Epoch: 26/1000 Iteration: 240 Validation loss: 0.417047 Validation acc: 0.902222\n",
      "Epoch: 27/1000 Iteration: 245 Train loss: 0.439938 Train acc: 0.853333\n",
      "Epoch: 27/1000 Iteration: 250 Train loss: 0.434743 Train acc: 0.865000\n",
      "Epoch: 27/1000 Iteration: 250 Validation loss: 0.386394 Validation acc: 0.906667\n",
      "Epoch: 28/1000 Iteration: 255 Train loss: 0.462838 Train acc: 0.835000\n",
      "Epoch: 28/1000 Iteration: 260 Train loss: 0.411919 Train acc: 0.871667\n",
      "Epoch: 28/1000 Iteration: 260 Validation loss: 0.360373 Validation acc: 0.911667\n",
      "Epoch: 29/1000 Iteration: 265 Train loss: 0.416308 Train acc: 0.853333\n",
      "Epoch: 29/1000 Iteration: 270 Train loss: 0.395753 Train acc: 0.868333\n",
      "Epoch: 29/1000 Iteration: 270 Validation loss: 0.336221 Validation acc: 0.910000\n",
      "Epoch: 30/1000 Iteration: 275 Train loss: 0.374390 Train acc: 0.886667\n",
      "Epoch: 31/1000 Iteration: 280 Train loss: 0.356178 Train acc: 0.875000\n",
      "Epoch: 31/1000 Iteration: 280 Validation loss: 0.315685 Validation acc: 0.918889\n",
      "Epoch: 31/1000 Iteration: 285 Train loss: 0.320030 Train acc: 0.910000\n",
      "Epoch: 32/1000 Iteration: 290 Train loss: 0.316196 Train acc: 0.918333\n",
      "Epoch: 32/1000 Iteration: 290 Validation loss: 0.296877 Validation acc: 0.920556\n",
      "Epoch: 32/1000 Iteration: 295 Train loss: 0.322131 Train acc: 0.895000\n",
      "Epoch: 33/1000 Iteration: 300 Train loss: 0.338310 Train acc: 0.873333\n",
      "Epoch: 33/1000 Iteration: 300 Validation loss: 0.280893 Validation acc: 0.921667\n",
      "Epoch: 33/1000 Iteration: 305 Train loss: 0.299545 Train acc: 0.901667\n",
      "Epoch: 34/1000 Iteration: 310 Train loss: 0.320083 Train acc: 0.885000\n",
      "Epoch: 34/1000 Iteration: 310 Validation loss: 0.265176 Validation acc: 0.921667\n",
      "Epoch: 34/1000 Iteration: 315 Train loss: 0.301644 Train acc: 0.916667\n",
      "Epoch: 35/1000 Iteration: 320 Train loss: 0.306973 Train acc: 0.881667\n",
      "Epoch: 35/1000 Iteration: 320 Validation loss: 0.251860 Validation acc: 0.922778\n",
      "Epoch: 36/1000 Iteration: 325 Train loss: 0.275790 Train acc: 0.905000\n",
      "Epoch: 36/1000 Iteration: 330 Train loss: 0.255603 Train acc: 0.928333\n",
      "Epoch: 36/1000 Iteration: 330 Validation loss: 0.240326 Validation acc: 0.925556\n",
      "Epoch: 37/1000 Iteration: 335 Train loss: 0.253915 Train acc: 0.930000\n",
      "Epoch: 37/1000 Iteration: 340 Train loss: 0.271275 Train acc: 0.898333\n",
      "Epoch: 37/1000 Iteration: 340 Validation loss: 0.229225 Validation acc: 0.927222\n",
      "Epoch: 38/1000 Iteration: 345 Train loss: 0.281969 Train acc: 0.895000\n",
      "Epoch: 38/1000 Iteration: 350 Train loss: 0.235097 Train acc: 0.928333\n",
      "Epoch: 38/1000 Iteration: 350 Validation loss: 0.219509 Validation acc: 0.928889\n",
      "Epoch: 39/1000 Iteration: 355 Train loss: 0.272885 Train acc: 0.906667\n",
      "Epoch: 39/1000 Iteration: 360 Train loss: 0.255055 Train acc: 0.918333\n",
      "Epoch: 39/1000 Iteration: 360 Validation loss: 0.210347 Validation acc: 0.930556\n",
      "Epoch: 40/1000 Iteration: 365 Train loss: 0.239888 Train acc: 0.916667\n",
      "Epoch: 41/1000 Iteration: 370 Train loss: 0.215889 Train acc: 0.928333\n",
      "Epoch: 41/1000 Iteration: 370 Validation loss: 0.203153 Validation acc: 0.930000\n",
      "Epoch: 41/1000 Iteration: 375 Train loss: 0.211535 Train acc: 0.931667\n",
      "Epoch: 42/1000 Iteration: 380 Train loss: 0.213609 Train acc: 0.933333\n",
      "Epoch: 42/1000 Iteration: 380 Validation loss: 0.194920 Validation acc: 0.935000\n",
      "Epoch: 42/1000 Iteration: 385 Train loss: 0.227742 Train acc: 0.915000\n",
      "Epoch: 43/1000 Iteration: 390 Train loss: 0.222759 Train acc: 0.920000\n",
      "Epoch: 43/1000 Iteration: 390 Validation loss: 0.188815 Validation acc: 0.936667\n",
      "Epoch: 43/1000 Iteration: 395 Train loss: 0.192580 Train acc: 0.935000\n",
      "Epoch: 44/1000 Iteration: 400 Train loss: 0.223020 Train acc: 0.928333\n",
      "Epoch: 44/1000 Iteration: 400 Validation loss: 0.182024 Validation acc: 0.936667\n",
      "Epoch: 44/1000 Iteration: 405 Train loss: 0.215208 Train acc: 0.935000\n",
      "Epoch: 45/1000 Iteration: 410 Train loss: 0.200058 Train acc: 0.931667\n",
      "Epoch: 45/1000 Iteration: 410 Validation loss: 0.177230 Validation acc: 0.937778\n",
      "Epoch: 46/1000 Iteration: 415 Train loss: 0.202933 Train acc: 0.923333\n",
      "Epoch: 46/1000 Iteration: 420 Train loss: 0.177675 Train acc: 0.943333\n",
      "Epoch: 46/1000 Iteration: 420 Validation loss: 0.171719 Validation acc: 0.937222\n",
      "Epoch: 47/1000 Iteration: 425 Train loss: 0.185583 Train acc: 0.941667\n",
      "Epoch: 47/1000 Iteration: 430 Train loss: 0.190955 Train acc: 0.936667\n",
      "Epoch: 47/1000 Iteration: 430 Validation loss: 0.168731 Validation acc: 0.938333\n",
      "Epoch: 48/1000 Iteration: 435 Train loss: 0.211010 Train acc: 0.911667\n",
      "Epoch: 48/1000 Iteration: 440 Train loss: 0.155772 Train acc: 0.951667\n",
      "Epoch: 48/1000 Iteration: 440 Validation loss: 0.163458 Validation acc: 0.941111\n",
      "Epoch: 49/1000 Iteration: 445 Train loss: 0.209384 Train acc: 0.923333\n",
      "Epoch: 49/1000 Iteration: 450 Train loss: 0.188035 Train acc: 0.941667\n",
      "Epoch: 49/1000 Iteration: 450 Validation loss: 0.159470 Validation acc: 0.940000\n",
      "Epoch: 50/1000 Iteration: 455 Train loss: 0.179098 Train acc: 0.938333\n",
      "Epoch: 51/1000 Iteration: 460 Train loss: 0.173913 Train acc: 0.936667\n",
      "Epoch: 51/1000 Iteration: 460 Validation loss: 0.156907 Validation acc: 0.943333\n",
      "Epoch: 51/1000 Iteration: 465 Train loss: 0.157148 Train acc: 0.938333\n",
      "Epoch: 52/1000 Iteration: 470 Train loss: 0.155976 Train acc: 0.958333\n",
      "Epoch: 52/1000 Iteration: 470 Validation loss: 0.152995 Validation acc: 0.943333\n",
      "Epoch: 52/1000 Iteration: 475 Train loss: 0.169356 Train acc: 0.935000\n",
      "Epoch: 53/1000 Iteration: 480 Train loss: 0.192566 Train acc: 0.926667\n",
      "Epoch: 53/1000 Iteration: 480 Validation loss: 0.150373 Validation acc: 0.946667\n",
      "Epoch: 53/1000 Iteration: 485 Train loss: 0.144004 Train acc: 0.953333\n",
      "Epoch: 54/1000 Iteration: 490 Train loss: 0.200623 Train acc: 0.916667\n",
      "Epoch: 54/1000 Iteration: 490 Validation loss: 0.148720 Validation acc: 0.945000\n",
      "Epoch: 54/1000 Iteration: 495 Train loss: 0.177346 Train acc: 0.941667\n",
      "Epoch: 55/1000 Iteration: 500 Train loss: 0.162067 Train acc: 0.943333\n",
      "Epoch: 55/1000 Iteration: 500 Validation loss: 0.145251 Validation acc: 0.946667\n",
      "Epoch: 56/1000 Iteration: 505 Train loss: 0.158874 Train acc: 0.936667\n",
      "Epoch: 56/1000 Iteration: 510 Train loss: 0.150495 Train acc: 0.941667\n",
      "Epoch: 56/1000 Iteration: 510 Validation loss: 0.144470 Validation acc: 0.944444\n",
      "Epoch: 57/1000 Iteration: 515 Train loss: 0.150705 Train acc: 0.956667\n",
      "Epoch: 57/1000 Iteration: 520 Train loss: 0.164655 Train acc: 0.950000\n",
      "Epoch: 57/1000 Iteration: 520 Validation loss: 0.141141 Validation acc: 0.948333\n",
      "Epoch: 58/1000 Iteration: 525 Train loss: 0.167770 Train acc: 0.925000\n",
      "Epoch: 58/1000 Iteration: 530 Train loss: 0.131328 Train acc: 0.955000\n",
      "Epoch: 58/1000 Iteration: 530 Validation loss: 0.139531 Validation acc: 0.948333\n",
      "Epoch: 59/1000 Iteration: 535 Train loss: 0.180681 Train acc: 0.915000\n",
      "Epoch: 59/1000 Iteration: 540 Train loss: 0.171196 Train acc: 0.936667\n",
      "Epoch: 59/1000 Iteration: 540 Validation loss: 0.137632 Validation acc: 0.950556\n",
      "Epoch: 60/1000 Iteration: 545 Train loss: 0.155687 Train acc: 0.946667\n",
      "Epoch: 61/1000 Iteration: 550 Train loss: 0.143095 Train acc: 0.943333\n",
      "Epoch: 61/1000 Iteration: 550 Validation loss: 0.135398 Validation acc: 0.950000\n",
      "Epoch: 61/1000 Iteration: 555 Train loss: 0.138037 Train acc: 0.945000\n",
      "Epoch: 62/1000 Iteration: 560 Train loss: 0.139769 Train acc: 0.963333\n",
      "Epoch: 62/1000 Iteration: 560 Validation loss: 0.134126 Validation acc: 0.951667\n",
      "Epoch: 62/1000 Iteration: 565 Train loss: 0.156465 Train acc: 0.950000\n",
      "Epoch: 63/1000 Iteration: 570 Train loss: 0.168076 Train acc: 0.930000\n",
      "Epoch: 63/1000 Iteration: 570 Validation loss: 0.132691 Validation acc: 0.952222\n",
      "Epoch: 63/1000 Iteration: 575 Train loss: 0.118325 Train acc: 0.966667\n",
      "Epoch: 64/1000 Iteration: 580 Train loss: 0.172857 Train acc: 0.930000\n",
      "Epoch: 64/1000 Iteration: 580 Validation loss: 0.130964 Validation acc: 0.951667\n",
      "Epoch: 64/1000 Iteration: 585 Train loss: 0.162851 Train acc: 0.946667\n",
      "Epoch: 65/1000 Iteration: 590 Train loss: 0.143207 Train acc: 0.951667\n",
      "Epoch: 65/1000 Iteration: 590 Validation loss: 0.129896 Validation acc: 0.952222\n",
      "Epoch: 66/1000 Iteration: 595 Train loss: 0.138840 Train acc: 0.953333\n",
      "Epoch: 66/1000 Iteration: 600 Train loss: 0.121623 Train acc: 0.950000\n",
      "Epoch: 66/1000 Iteration: 600 Validation loss: 0.128988 Validation acc: 0.951667\n",
      "Epoch: 67/1000 Iteration: 605 Train loss: 0.133200 Train acc: 0.951667\n",
      "Epoch: 67/1000 Iteration: 610 Train loss: 0.144924 Train acc: 0.945000\n",
      "Epoch: 67/1000 Iteration: 610 Validation loss: 0.127460 Validation acc: 0.952778\n",
      "Epoch: 68/1000 Iteration: 615 Train loss: 0.162583 Train acc: 0.923333\n",
      "Epoch: 68/1000 Iteration: 620 Train loss: 0.113160 Train acc: 0.965000\n",
      "Epoch: 68/1000 Iteration: 620 Validation loss: 0.127370 Validation acc: 0.953889\n",
      "Epoch: 69/1000 Iteration: 625 Train loss: 0.167711 Train acc: 0.931667\n",
      "Epoch: 69/1000 Iteration: 630 Train loss: 0.150530 Train acc: 0.946667\n",
      "Epoch: 69/1000 Iteration: 630 Validation loss: 0.125703 Validation acc: 0.953333\n",
      "Epoch: 70/1000 Iteration: 635 Train loss: 0.135248 Train acc: 0.955000\n",
      "Epoch: 71/1000 Iteration: 640 Train loss: 0.132296 Train acc: 0.953333\n",
      "Epoch: 71/1000 Iteration: 640 Validation loss: 0.124908 Validation acc: 0.954444\n",
      "Epoch: 71/1000 Iteration: 645 Train loss: 0.115777 Train acc: 0.956667\n",
      "Epoch: 72/1000 Iteration: 650 Train loss: 0.119891 Train acc: 0.965000\n",
      "Epoch: 72/1000 Iteration: 650 Validation loss: 0.124193 Validation acc: 0.955000\n",
      "Epoch: 72/1000 Iteration: 655 Train loss: 0.144560 Train acc: 0.940000\n",
      "Epoch: 73/1000 Iteration: 660 Train loss: 0.148747 Train acc: 0.921667\n",
      "Epoch: 73/1000 Iteration: 660 Validation loss: 0.123019 Validation acc: 0.955000\n",
      "Epoch: 73/1000 Iteration: 665 Train loss: 0.115884 Train acc: 0.960000\n",
      "Epoch: 74/1000 Iteration: 670 Train loss: 0.155503 Train acc: 0.928333\n",
      "Epoch: 74/1000 Iteration: 670 Validation loss: 0.122545 Validation acc: 0.955000\n",
      "Epoch: 74/1000 Iteration: 675 Train loss: 0.150259 Train acc: 0.948333\n",
      "Epoch: 75/1000 Iteration: 680 Train loss: 0.122062 Train acc: 0.956667\n",
      "Epoch: 75/1000 Iteration: 680 Validation loss: 0.121309 Validation acc: 0.955555\n",
      "Epoch: 76/1000 Iteration: 685 Train loss: 0.120939 Train acc: 0.956667\n",
      "Epoch: 76/1000 Iteration: 690 Train loss: 0.118675 Train acc: 0.950000\n",
      "Epoch: 76/1000 Iteration: 690 Validation loss: 0.120566 Validation acc: 0.955555\n",
      "Epoch: 77/1000 Iteration: 695 Train loss: 0.128623 Train acc: 0.951667\n",
      "Epoch: 77/1000 Iteration: 700 Train loss: 0.132309 Train acc: 0.951667\n",
      "Epoch: 77/1000 Iteration: 700 Validation loss: 0.120125 Validation acc: 0.955555\n",
      "Epoch: 78/1000 Iteration: 705 Train loss: 0.144633 Train acc: 0.936667\n",
      "Epoch: 78/1000 Iteration: 710 Train loss: 0.109827 Train acc: 0.956667\n",
      "Epoch: 78/1000 Iteration: 710 Validation loss: 0.118976 Validation acc: 0.955000\n",
      "Epoch: 79/1000 Iteration: 715 Train loss: 0.150165 Train acc: 0.936667\n",
      "Epoch: 79/1000 Iteration: 720 Train loss: 0.144152 Train acc: 0.948333\n",
      "Epoch: 79/1000 Iteration: 720 Validation loss: 0.119147 Validation acc: 0.955555\n",
      "Epoch: 80/1000 Iteration: 725 Train loss: 0.133804 Train acc: 0.946667\n",
      "Epoch: 81/1000 Iteration: 730 Train loss: 0.115274 Train acc: 0.961667\n",
      "Epoch: 81/1000 Iteration: 730 Validation loss: 0.117741 Validation acc: 0.956111\n",
      "Epoch: 81/1000 Iteration: 735 Train loss: 0.116082 Train acc: 0.951667\n",
      "Epoch: 82/1000 Iteration: 740 Train loss: 0.126896 Train acc: 0.956667\n",
      "Epoch: 82/1000 Iteration: 740 Validation loss: 0.116816 Validation acc: 0.955555\n",
      "Epoch: 82/1000 Iteration: 745 Train loss: 0.128724 Train acc: 0.951667\n",
      "Epoch: 83/1000 Iteration: 750 Train loss: 0.150569 Train acc: 0.936667\n",
      "Epoch: 83/1000 Iteration: 750 Validation loss: 0.116544 Validation acc: 0.955555\n",
      "Epoch: 83/1000 Iteration: 755 Train loss: 0.100254 Train acc: 0.961667\n",
      "Epoch: 84/1000 Iteration: 760 Train loss: 0.148044 Train acc: 0.933333\n",
      "Epoch: 84/1000 Iteration: 760 Validation loss: 0.115936 Validation acc: 0.956111\n",
      "Epoch: 84/1000 Iteration: 765 Train loss: 0.141428 Train acc: 0.958333\n",
      "Epoch: 85/1000 Iteration: 770 Train loss: 0.128019 Train acc: 0.953333\n",
      "Epoch: 85/1000 Iteration: 770 Validation loss: 0.115115 Validation acc: 0.955555\n",
      "Epoch: 86/1000 Iteration: 775 Train loss: 0.113633 Train acc: 0.956667\n",
      "Epoch: 86/1000 Iteration: 780 Train loss: 0.106446 Train acc: 0.956667\n",
      "Epoch: 86/1000 Iteration: 780 Validation loss: 0.114564 Validation acc: 0.956111\n",
      "Epoch: 87/1000 Iteration: 785 Train loss: 0.109251 Train acc: 0.963333\n",
      "Epoch: 87/1000 Iteration: 790 Train loss: 0.128733 Train acc: 0.950000\n",
      "Epoch: 87/1000 Iteration: 790 Validation loss: 0.114243 Validation acc: 0.956667\n",
      "Epoch: 88/1000 Iteration: 795 Train loss: 0.139225 Train acc: 0.941667\n",
      "Epoch: 88/1000 Iteration: 800 Train loss: 0.096928 Train acc: 0.965000\n",
      "Epoch: 88/1000 Iteration: 800 Validation loss: 0.113653 Validation acc: 0.956111\n",
      "Epoch: 89/1000 Iteration: 805 Train loss: 0.145499 Train acc: 0.935000\n",
      "Epoch: 89/1000 Iteration: 810 Train loss: 0.131359 Train acc: 0.958333\n",
      "Epoch: 89/1000 Iteration: 810 Validation loss: 0.113217 Validation acc: 0.956111\n",
      "Epoch: 90/1000 Iteration: 815 Train loss: 0.116081 Train acc: 0.953333\n",
      "Epoch: 91/1000 Iteration: 820 Train loss: 0.112045 Train acc: 0.950000\n",
      "Epoch: 91/1000 Iteration: 820 Validation loss: 0.112795 Validation acc: 0.956667\n",
      "Epoch: 91/1000 Iteration: 825 Train loss: 0.107290 Train acc: 0.953333\n",
      "Epoch: 92/1000 Iteration: 830 Train loss: 0.108939 Train acc: 0.961667\n",
      "Epoch: 92/1000 Iteration: 830 Validation loss: 0.112448 Validation acc: 0.956667\n",
      "Epoch: 92/1000 Iteration: 835 Train loss: 0.124390 Train acc: 0.953333\n",
      "Epoch: 93/1000 Iteration: 840 Train loss: 0.139648 Train acc: 0.930000\n",
      "Epoch: 93/1000 Iteration: 840 Validation loss: 0.111664 Validation acc: 0.956667\n",
      "Epoch: 93/1000 Iteration: 845 Train loss: 0.096260 Train acc: 0.963333\n",
      "Epoch: 94/1000 Iteration: 850 Train loss: 0.140952 Train acc: 0.938333\n",
      "Epoch: 94/1000 Iteration: 850 Validation loss: 0.111378 Validation acc: 0.957222\n",
      "Epoch: 94/1000 Iteration: 855 Train loss: 0.146628 Train acc: 0.948333\n",
      "Epoch: 95/1000 Iteration: 860 Train loss: 0.124884 Train acc: 0.951667\n",
      "Epoch: 95/1000 Iteration: 860 Validation loss: 0.110821 Validation acc: 0.957222\n",
      "Epoch: 96/1000 Iteration: 865 Train loss: 0.116049 Train acc: 0.950000\n",
      "Epoch: 96/1000 Iteration: 870 Train loss: 0.102889 Train acc: 0.961667\n",
      "Epoch: 96/1000 Iteration: 870 Validation loss: 0.110720 Validation acc: 0.957222\n",
      "Epoch: 97/1000 Iteration: 875 Train loss: 0.107746 Train acc: 0.961667\n",
      "Epoch: 97/1000 Iteration: 880 Train loss: 0.123862 Train acc: 0.958333\n",
      "Epoch: 97/1000 Iteration: 880 Validation loss: 0.110453 Validation acc: 0.957778\n",
      "Epoch: 98/1000 Iteration: 885 Train loss: 0.138070 Train acc: 0.936667\n",
      "Epoch: 98/1000 Iteration: 890 Train loss: 0.096106 Train acc: 0.965000\n",
      "Epoch: 98/1000 Iteration: 890 Validation loss: 0.109938 Validation acc: 0.957222\n",
      "Epoch: 99/1000 Iteration: 895 Train loss: 0.137674 Train acc: 0.941667\n",
      "Epoch: 99/1000 Iteration: 900 Train loss: 0.129542 Train acc: 0.961667\n",
      "Epoch: 99/1000 Iteration: 900 Validation loss: 0.109960 Validation acc: 0.956111\n",
      "Epoch: 100/1000 Iteration: 905 Train loss: 0.108440 Train acc: 0.956667\n",
      "Epoch: 101/1000 Iteration: 910 Train loss: 0.105387 Train acc: 0.960000\n",
      "Epoch: 101/1000 Iteration: 910 Validation loss: 0.109095 Validation acc: 0.957222\n",
      "Epoch: 101/1000 Iteration: 915 Train loss: 0.102724 Train acc: 0.958333\n",
      "Epoch: 102/1000 Iteration: 920 Train loss: 0.107902 Train acc: 0.958333\n",
      "Epoch: 102/1000 Iteration: 920 Validation loss: 0.108978 Validation acc: 0.957222\n",
      "Epoch: 102/1000 Iteration: 925 Train loss: 0.110801 Train acc: 0.960000\n",
      "Epoch: 103/1000 Iteration: 930 Train loss: 0.132403 Train acc: 0.936667\n",
      "Epoch: 103/1000 Iteration: 930 Validation loss: 0.108445 Validation acc: 0.958333\n",
      "Epoch: 103/1000 Iteration: 935 Train loss: 0.086585 Train acc: 0.968333\n",
      "Epoch: 104/1000 Iteration: 940 Train loss: 0.138996 Train acc: 0.933333\n",
      "Epoch: 104/1000 Iteration: 940 Validation loss: 0.108113 Validation acc: 0.957778\n",
      "Epoch: 104/1000 Iteration: 945 Train loss: 0.122455 Train acc: 0.956667\n",
      "Epoch: 105/1000 Iteration: 950 Train loss: 0.112808 Train acc: 0.961667\n",
      "Epoch: 105/1000 Iteration: 950 Validation loss: 0.107746 Validation acc: 0.957778\n",
      "Epoch: 106/1000 Iteration: 955 Train loss: 0.104592 Train acc: 0.961667\n",
      "Epoch: 106/1000 Iteration: 960 Train loss: 0.099609 Train acc: 0.960000\n",
      "Epoch: 106/1000 Iteration: 960 Validation loss: 0.107379 Validation acc: 0.957778\n",
      "Epoch: 107/1000 Iteration: 965 Train loss: 0.108404 Train acc: 0.958333\n",
      "Epoch: 107/1000 Iteration: 970 Train loss: 0.106950 Train acc: 0.965000\n",
      "Epoch: 107/1000 Iteration: 970 Validation loss: 0.107302 Validation acc: 0.957222\n",
      "Epoch: 108/1000 Iteration: 975 Train loss: 0.128094 Train acc: 0.941667\n",
      "Epoch: 108/1000 Iteration: 980 Train loss: 0.094652 Train acc: 0.963333\n",
      "Epoch: 108/1000 Iteration: 980 Validation loss: 0.106672 Validation acc: 0.957778\n",
      "Epoch: 109/1000 Iteration: 985 Train loss: 0.140983 Train acc: 0.938333\n",
      "Epoch: 109/1000 Iteration: 990 Train loss: 0.125094 Train acc: 0.958333\n",
      "Epoch: 109/1000 Iteration: 990 Validation loss: 0.106688 Validation acc: 0.957222\n",
      "Epoch: 110/1000 Iteration: 995 Train loss: 0.113702 Train acc: 0.955000\n",
      "Epoch: 111/1000 Iteration: 1000 Train loss: 0.107923 Train acc: 0.956667\n",
      "Epoch: 111/1000 Iteration: 1000 Validation loss: 0.106209 Validation acc: 0.957778\n",
      "Epoch: 111/1000 Iteration: 1005 Train loss: 0.097528 Train acc: 0.963333\n",
      "Epoch: 112/1000 Iteration: 1010 Train loss: 0.106097 Train acc: 0.961667\n",
      "Epoch: 112/1000 Iteration: 1010 Validation loss: 0.106052 Validation acc: 0.957778\n",
      "Epoch: 112/1000 Iteration: 1015 Train loss: 0.108793 Train acc: 0.965000\n",
      "Epoch: 113/1000 Iteration: 1020 Train loss: 0.126700 Train acc: 0.941667\n",
      "Epoch: 113/1000 Iteration: 1020 Validation loss: 0.105539 Validation acc: 0.957778\n",
      "Epoch: 113/1000 Iteration: 1025 Train loss: 0.089530 Train acc: 0.960000\n",
      "Epoch: 114/1000 Iteration: 1030 Train loss: 0.132170 Train acc: 0.940000\n",
      "Epoch: 114/1000 Iteration: 1030 Validation loss: 0.105288 Validation acc: 0.958333\n",
      "Epoch: 114/1000 Iteration: 1035 Train loss: 0.117704 Train acc: 0.948333\n",
      "Epoch: 115/1000 Iteration: 1040 Train loss: 0.104991 Train acc: 0.961667\n",
      "Epoch: 115/1000 Iteration: 1040 Validation loss: 0.105158 Validation acc: 0.957778\n",
      "Epoch: 116/1000 Iteration: 1045 Train loss: 0.103241 Train acc: 0.960000\n",
      "Epoch: 116/1000 Iteration: 1050 Train loss: 0.098231 Train acc: 0.958333\n",
      "Epoch: 116/1000 Iteration: 1050 Validation loss: 0.104789 Validation acc: 0.957222\n",
      "Epoch: 117/1000 Iteration: 1055 Train loss: 0.101742 Train acc: 0.963333\n",
      "Epoch: 117/1000 Iteration: 1060 Train loss: 0.110127 Train acc: 0.958333\n",
      "Epoch: 117/1000 Iteration: 1060 Validation loss: 0.104362 Validation acc: 0.958333\n",
      "Epoch: 118/1000 Iteration: 1065 Train loss: 0.122435 Train acc: 0.941667\n",
      "Epoch: 118/1000 Iteration: 1070 Train loss: 0.084209 Train acc: 0.965000\n",
      "Epoch: 118/1000 Iteration: 1070 Validation loss: 0.104133 Validation acc: 0.958333\n",
      "Epoch: 119/1000 Iteration: 1075 Train loss: 0.131949 Train acc: 0.940000\n",
      "Epoch: 119/1000 Iteration: 1080 Train loss: 0.113587 Train acc: 0.958333\n",
      "Epoch: 119/1000 Iteration: 1080 Validation loss: 0.103807 Validation acc: 0.957778\n",
      "Epoch: 120/1000 Iteration: 1085 Train loss: 0.115592 Train acc: 0.960000\n",
      "Epoch: 121/1000 Iteration: 1090 Train loss: 0.100714 Train acc: 0.960000\n",
      "Epoch: 121/1000 Iteration: 1090 Validation loss: 0.103514 Validation acc: 0.957778\n",
      "Epoch: 121/1000 Iteration: 1095 Train loss: 0.098716 Train acc: 0.958333\n",
      "Epoch: 122/1000 Iteration: 1100 Train loss: 0.105516 Train acc: 0.961667\n",
      "Epoch: 122/1000 Iteration: 1100 Validation loss: 0.103449 Validation acc: 0.957222\n",
      "Epoch: 122/1000 Iteration: 1105 Train loss: 0.102183 Train acc: 0.963333\n",
      "Epoch: 123/1000 Iteration: 1110 Train loss: 0.121466 Train acc: 0.940000\n",
      "Epoch: 123/1000 Iteration: 1110 Validation loss: 0.103099 Validation acc: 0.957778\n",
      "Epoch: 123/1000 Iteration: 1115 Train loss: 0.081323 Train acc: 0.970000\n",
      "Epoch: 124/1000 Iteration: 1120 Train loss: 0.134764 Train acc: 0.933333\n",
      "Epoch: 124/1000 Iteration: 1120 Validation loss: 0.102735 Validation acc: 0.958333\n",
      "Epoch: 124/1000 Iteration: 1125 Train loss: 0.119353 Train acc: 0.960000\n",
      "Epoch: 125/1000 Iteration: 1130 Train loss: 0.109647 Train acc: 0.958333\n",
      "Epoch: 125/1000 Iteration: 1130 Validation loss: 0.102555 Validation acc: 0.957778\n",
      "Epoch: 126/1000 Iteration: 1135 Train loss: 0.103926 Train acc: 0.963333\n",
      "Epoch: 126/1000 Iteration: 1140 Train loss: 0.099263 Train acc: 0.960000\n",
      "Epoch: 126/1000 Iteration: 1140 Validation loss: 0.102434 Validation acc: 0.957222\n",
      "Epoch: 127/1000 Iteration: 1145 Train loss: 0.097028 Train acc: 0.960000\n",
      "Epoch: 127/1000 Iteration: 1150 Train loss: 0.102841 Train acc: 0.960000\n",
      "Epoch: 127/1000 Iteration: 1150 Validation loss: 0.102133 Validation acc: 0.958889\n",
      "Epoch: 128/1000 Iteration: 1155 Train loss: 0.120252 Train acc: 0.948333\n",
      "Epoch: 128/1000 Iteration: 1160 Train loss: 0.087360 Train acc: 0.965000\n",
      "Epoch: 128/1000 Iteration: 1160 Validation loss: 0.101881 Validation acc: 0.957222\n",
      "Epoch: 129/1000 Iteration: 1165 Train loss: 0.127084 Train acc: 0.936667\n",
      "Epoch: 129/1000 Iteration: 1170 Train loss: 0.104859 Train acc: 0.960000\n",
      "Epoch: 129/1000 Iteration: 1170 Validation loss: 0.101754 Validation acc: 0.959444\n",
      "Epoch: 130/1000 Iteration: 1175 Train loss: 0.106725 Train acc: 0.960000\n",
      "Epoch: 131/1000 Iteration: 1180 Train loss: 0.099687 Train acc: 0.960000\n",
      "Epoch: 131/1000 Iteration: 1180 Validation loss: 0.101537 Validation acc: 0.959444\n",
      "Epoch: 131/1000 Iteration: 1185 Train loss: 0.098945 Train acc: 0.958333\n",
      "Epoch: 132/1000 Iteration: 1190 Train loss: 0.101435 Train acc: 0.961667\n",
      "Epoch: 132/1000 Iteration: 1190 Validation loss: 0.101206 Validation acc: 0.958889\n",
      "Epoch: 132/1000 Iteration: 1195 Train loss: 0.097545 Train acc: 0.965000\n",
      "Epoch: 133/1000 Iteration: 1200 Train loss: 0.122050 Train acc: 0.940000\n",
      "Epoch: 133/1000 Iteration: 1200 Validation loss: 0.101290 Validation acc: 0.957222\n",
      "Epoch: 133/1000 Iteration: 1205 Train loss: 0.085295 Train acc: 0.968333\n",
      "Epoch: 134/1000 Iteration: 1210 Train loss: 0.128848 Train acc: 0.938333\n",
      "Epoch: 134/1000 Iteration: 1210 Validation loss: 0.100968 Validation acc: 0.957778\n",
      "Epoch: 134/1000 Iteration: 1215 Train loss: 0.111236 Train acc: 0.960000\n",
      "Epoch: 135/1000 Iteration: 1220 Train loss: 0.099296 Train acc: 0.958333\n",
      "Epoch: 135/1000 Iteration: 1220 Validation loss: 0.100606 Validation acc: 0.958333\n",
      "Epoch: 136/1000 Iteration: 1225 Train loss: 0.100134 Train acc: 0.961667\n",
      "Epoch: 136/1000 Iteration: 1230 Train loss: 0.096067 Train acc: 0.958333\n",
      "Epoch: 136/1000 Iteration: 1230 Validation loss: 0.100426 Validation acc: 0.957222\n",
      "Epoch: 137/1000 Iteration: 1235 Train loss: 0.093115 Train acc: 0.960000\n",
      "Epoch: 137/1000 Iteration: 1240 Train loss: 0.104715 Train acc: 0.965000\n",
      "Epoch: 137/1000 Iteration: 1240 Validation loss: 0.100334 Validation acc: 0.958333\n",
      "Epoch: 138/1000 Iteration: 1245 Train loss: 0.110500 Train acc: 0.943333\n",
      "Epoch: 138/1000 Iteration: 1250 Train loss: 0.081880 Train acc: 0.965000\n",
      "Epoch: 138/1000 Iteration: 1250 Validation loss: 0.100327 Validation acc: 0.958333\n",
      "Epoch: 139/1000 Iteration: 1255 Train loss: 0.125441 Train acc: 0.943333\n",
      "Epoch: 139/1000 Iteration: 1260 Train loss: 0.111174 Train acc: 0.963333\n",
      "Epoch: 139/1000 Iteration: 1260 Validation loss: 0.099925 Validation acc: 0.958889\n",
      "Epoch: 140/1000 Iteration: 1265 Train loss: 0.096830 Train acc: 0.956667\n",
      "Epoch: 141/1000 Iteration: 1270 Train loss: 0.097040 Train acc: 0.955000\n",
      "Epoch: 141/1000 Iteration: 1270 Validation loss: 0.099708 Validation acc: 0.958333\n",
      "Epoch: 141/1000 Iteration: 1275 Train loss: 0.091130 Train acc: 0.960000\n",
      "Epoch: 142/1000 Iteration: 1280 Train loss: 0.092312 Train acc: 0.960000\n",
      "Epoch: 142/1000 Iteration: 1280 Validation loss: 0.099357 Validation acc: 0.958889\n",
      "Epoch: 142/1000 Iteration: 1285 Train loss: 0.101863 Train acc: 0.956667\n",
      "Epoch: 143/1000 Iteration: 1290 Train loss: 0.112111 Train acc: 0.950000\n",
      "Epoch: 143/1000 Iteration: 1290 Validation loss: 0.099163 Validation acc: 0.958889\n",
      "Epoch: 143/1000 Iteration: 1295 Train loss: 0.077828 Train acc: 0.966667\n",
      "Epoch: 144/1000 Iteration: 1300 Train loss: 0.121444 Train acc: 0.943333\n",
      "Epoch: 144/1000 Iteration: 1300 Validation loss: 0.099017 Validation acc: 0.958889\n",
      "Epoch: 144/1000 Iteration: 1305 Train loss: 0.108182 Train acc: 0.956667\n",
      "Epoch: 145/1000 Iteration: 1310 Train loss: 0.096454 Train acc: 0.956667\n",
      "Epoch: 145/1000 Iteration: 1310 Validation loss: 0.098906 Validation acc: 0.957222\n",
      "Epoch: 146/1000 Iteration: 1315 Train loss: 0.088232 Train acc: 0.965000\n",
      "Epoch: 146/1000 Iteration: 1320 Train loss: 0.092182 Train acc: 0.960000\n",
      "Epoch: 146/1000 Iteration: 1320 Validation loss: 0.098684 Validation acc: 0.958889\n",
      "Epoch: 147/1000 Iteration: 1325 Train loss: 0.089004 Train acc: 0.965000\n",
      "Epoch: 147/1000 Iteration: 1330 Train loss: 0.103688 Train acc: 0.950000\n",
      "Epoch: 147/1000 Iteration: 1330 Validation loss: 0.098719 Validation acc: 0.958333\n",
      "Epoch: 148/1000 Iteration: 1335 Train loss: 0.113872 Train acc: 0.945000\n",
      "Epoch: 148/1000 Iteration: 1340 Train loss: 0.078529 Train acc: 0.968333\n",
      "Epoch: 148/1000 Iteration: 1340 Validation loss: 0.098492 Validation acc: 0.958333\n",
      "Epoch: 149/1000 Iteration: 1345 Train loss: 0.122241 Train acc: 0.941667\n",
      "Epoch: 149/1000 Iteration: 1350 Train loss: 0.107336 Train acc: 0.953333\n",
      "Epoch: 149/1000 Iteration: 1350 Validation loss: 0.098074 Validation acc: 0.958333\n",
      "Epoch: 150/1000 Iteration: 1355 Train loss: 0.103581 Train acc: 0.956667\n",
      "Epoch: 151/1000 Iteration: 1360 Train loss: 0.097567 Train acc: 0.956667\n",
      "Epoch: 151/1000 Iteration: 1360 Validation loss: 0.098001 Validation acc: 0.958333\n",
      "Epoch: 151/1000 Iteration: 1365 Train loss: 0.096053 Train acc: 0.956667\n",
      "Epoch: 152/1000 Iteration: 1370 Train loss: 0.096780 Train acc: 0.960000\n",
      "Epoch: 152/1000 Iteration: 1370 Validation loss: 0.097948 Validation acc: 0.958333\n",
      "Epoch: 152/1000 Iteration: 1375 Train loss: 0.100763 Train acc: 0.961667\n",
      "Epoch: 153/1000 Iteration: 1380 Train loss: 0.120349 Train acc: 0.933333\n",
      "Epoch: 153/1000 Iteration: 1380 Validation loss: 0.097822 Validation acc: 0.957778\n",
      "Epoch: 153/1000 Iteration: 1385 Train loss: 0.082258 Train acc: 0.971667\n",
      "Epoch: 154/1000 Iteration: 1390 Train loss: 0.128804 Train acc: 0.941667\n",
      "Epoch: 154/1000 Iteration: 1390 Validation loss: 0.097519 Validation acc: 0.958333\n",
      "Epoch: 154/1000 Iteration: 1395 Train loss: 0.107775 Train acc: 0.958333\n",
      "Epoch: 155/1000 Iteration: 1400 Train loss: 0.098618 Train acc: 0.958333\n",
      "Epoch: 155/1000 Iteration: 1400 Validation loss: 0.097400 Validation acc: 0.958333\n",
      "Epoch: 156/1000 Iteration: 1405 Train loss: 0.092756 Train acc: 0.966667\n",
      "Epoch: 156/1000 Iteration: 1410 Train loss: 0.091957 Train acc: 0.955000\n",
      "Epoch: 156/1000 Iteration: 1410 Validation loss: 0.097212 Validation acc: 0.958333\n",
      "Epoch: 157/1000 Iteration: 1415 Train loss: 0.092510 Train acc: 0.961667\n",
      "Epoch: 157/1000 Iteration: 1420 Train loss: 0.096113 Train acc: 0.968333\n",
      "Epoch: 157/1000 Iteration: 1420 Validation loss: 0.096797 Validation acc: 0.958333\n",
      "Epoch: 158/1000 Iteration: 1425 Train loss: 0.116191 Train acc: 0.943333\n",
      "Epoch: 158/1000 Iteration: 1430 Train loss: 0.074968 Train acc: 0.970000\n",
      "Epoch: 158/1000 Iteration: 1430 Validation loss: 0.096739 Validation acc: 0.958333\n",
      "Epoch: 159/1000 Iteration: 1435 Train loss: 0.127118 Train acc: 0.945000\n",
      "Epoch: 159/1000 Iteration: 1440 Train loss: 0.110948 Train acc: 0.958333\n",
      "Epoch: 159/1000 Iteration: 1440 Validation loss: 0.096844 Validation acc: 0.957778\n",
      "Epoch: 160/1000 Iteration: 1445 Train loss: 0.090998 Train acc: 0.968333\n",
      "Epoch: 161/1000 Iteration: 1450 Train loss: 0.093220 Train acc: 0.963333\n",
      "Epoch: 161/1000 Iteration: 1450 Validation loss: 0.096564 Validation acc: 0.958333\n",
      "Epoch: 161/1000 Iteration: 1455 Train loss: 0.091186 Train acc: 0.958333\n",
      "Epoch: 162/1000 Iteration: 1460 Train loss: 0.089519 Train acc: 0.963333\n",
      "Epoch: 162/1000 Iteration: 1460 Validation loss: 0.096430 Validation acc: 0.958333\n",
      "Epoch: 162/1000 Iteration: 1465 Train loss: 0.094877 Train acc: 0.961667\n",
      "Epoch: 163/1000 Iteration: 1470 Train loss: 0.111772 Train acc: 0.945000\n",
      "Epoch: 163/1000 Iteration: 1470 Validation loss: 0.096272 Validation acc: 0.958333\n",
      "Epoch: 163/1000 Iteration: 1475 Train loss: 0.073409 Train acc: 0.971667\n",
      "Epoch: 164/1000 Iteration: 1480 Train loss: 0.124324 Train acc: 0.933333\n",
      "Epoch: 164/1000 Iteration: 1480 Validation loss: 0.096309 Validation acc: 0.958333\n",
      "Epoch: 164/1000 Iteration: 1485 Train loss: 0.109870 Train acc: 0.951667\n",
      "Epoch: 165/1000 Iteration: 1490 Train loss: 0.094116 Train acc: 0.961667\n",
      "Epoch: 165/1000 Iteration: 1490 Validation loss: 0.096067 Validation acc: 0.958333\n",
      "Epoch: 166/1000 Iteration: 1495 Train loss: 0.087273 Train acc: 0.961667\n",
      "Epoch: 166/1000 Iteration: 1500 Train loss: 0.095311 Train acc: 0.955000\n",
      "Epoch: 166/1000 Iteration: 1500 Validation loss: 0.095690 Validation acc: 0.958333\n",
      "Epoch: 167/1000 Iteration: 1505 Train loss: 0.088849 Train acc: 0.966667\n",
      "Epoch: 167/1000 Iteration: 1510 Train loss: 0.099568 Train acc: 0.960000\n",
      "Epoch: 167/1000 Iteration: 1510 Validation loss: 0.095549 Validation acc: 0.958333\n",
      "Epoch: 168/1000 Iteration: 1515 Train loss: 0.111843 Train acc: 0.943333\n",
      "Epoch: 168/1000 Iteration: 1520 Train loss: 0.073254 Train acc: 0.973333\n",
      "Epoch: 168/1000 Iteration: 1520 Validation loss: 0.095519 Validation acc: 0.958333\n",
      "Epoch: 169/1000 Iteration: 1525 Train loss: 0.125225 Train acc: 0.943333\n",
      "Epoch: 169/1000 Iteration: 1530 Train loss: 0.104002 Train acc: 0.960000\n",
      "Epoch: 169/1000 Iteration: 1530 Validation loss: 0.095476 Validation acc: 0.958333\n",
      "Epoch: 170/1000 Iteration: 1535 Train loss: 0.098219 Train acc: 0.956667\n",
      "Epoch: 171/1000 Iteration: 1540 Train loss: 0.091362 Train acc: 0.965000\n",
      "Epoch: 171/1000 Iteration: 1540 Validation loss: 0.095087 Validation acc: 0.958333\n",
      "Epoch: 171/1000 Iteration: 1545 Train loss: 0.088106 Train acc: 0.958333\n",
      "Epoch: 172/1000 Iteration: 1550 Train loss: 0.085286 Train acc: 0.960000\n",
      "Epoch: 172/1000 Iteration: 1550 Validation loss: 0.094811 Validation acc: 0.958333\n",
      "Epoch: 172/1000 Iteration: 1555 Train loss: 0.090204 Train acc: 0.968333\n",
      "Epoch: 173/1000 Iteration: 1560 Train loss: 0.113561 Train acc: 0.943333\n",
      "Epoch: 173/1000 Iteration: 1560 Validation loss: 0.094874 Validation acc: 0.958889\n",
      "Epoch: 173/1000 Iteration: 1565 Train loss: 0.072696 Train acc: 0.966667\n",
      "Epoch: 174/1000 Iteration: 1570 Train loss: 0.120140 Train acc: 0.943333\n",
      "Epoch: 174/1000 Iteration: 1570 Validation loss: 0.094570 Validation acc: 0.958333\n",
      "Epoch: 174/1000 Iteration: 1575 Train loss: 0.104531 Train acc: 0.956667\n",
      "Epoch: 175/1000 Iteration: 1580 Train loss: 0.095360 Train acc: 0.963333\n",
      "Epoch: 175/1000 Iteration: 1580 Validation loss: 0.094459 Validation acc: 0.958889\n",
      "Epoch: 176/1000 Iteration: 1585 Train loss: 0.091283 Train acc: 0.966667\n",
      "Epoch: 176/1000 Iteration: 1590 Train loss: 0.090758 Train acc: 0.955000\n",
      "Epoch: 176/1000 Iteration: 1590 Validation loss: 0.094527 Validation acc: 0.958889\n",
      "Epoch: 177/1000 Iteration: 1595 Train loss: 0.088460 Train acc: 0.961667\n",
      "Epoch: 177/1000 Iteration: 1600 Train loss: 0.088051 Train acc: 0.965000\n",
      "Epoch: 177/1000 Iteration: 1600 Validation loss: 0.094060 Validation acc: 0.958889\n",
      "Epoch: 178/1000 Iteration: 1605 Train loss: 0.108229 Train acc: 0.951667\n",
      "Epoch: 178/1000 Iteration: 1610 Train loss: 0.074950 Train acc: 0.966667\n",
      "Epoch: 178/1000 Iteration: 1610 Validation loss: 0.093935 Validation acc: 0.958889\n",
      "Epoch: 179/1000 Iteration: 1615 Train loss: 0.120205 Train acc: 0.941667\n",
      "Epoch: 179/1000 Iteration: 1620 Train loss: 0.102280 Train acc: 0.953333\n",
      "Epoch: 179/1000 Iteration: 1620 Validation loss: 0.094199 Validation acc: 0.958889\n",
      "Epoch: 180/1000 Iteration: 1625 Train loss: 0.093343 Train acc: 0.966667\n",
      "Epoch: 181/1000 Iteration: 1630 Train loss: 0.085075 Train acc: 0.963333\n",
      "Epoch: 181/1000 Iteration: 1630 Validation loss: 0.093841 Validation acc: 0.958333\n",
      "Epoch: 181/1000 Iteration: 1635 Train loss: 0.085574 Train acc: 0.960000\n",
      "Epoch: 182/1000 Iteration: 1640 Train loss: 0.084768 Train acc: 0.963333\n",
      "Epoch: 182/1000 Iteration: 1640 Validation loss: 0.093614 Validation acc: 0.958889\n",
      "Epoch: 182/1000 Iteration: 1645 Train loss: 0.089905 Train acc: 0.966667\n",
      "Epoch: 183/1000 Iteration: 1650 Train loss: 0.111242 Train acc: 0.941667\n",
      "Epoch: 183/1000 Iteration: 1650 Validation loss: 0.093407 Validation acc: 0.958889\n",
      "Epoch: 183/1000 Iteration: 1655 Train loss: 0.067600 Train acc: 0.973333\n",
      "Epoch: 184/1000 Iteration: 1660 Train loss: 0.116991 Train acc: 0.935000\n",
      "Epoch: 184/1000 Iteration: 1660 Validation loss: 0.093012 Validation acc: 0.958889\n",
      "Epoch: 184/1000 Iteration: 1665 Train loss: 0.113417 Train acc: 0.955000\n",
      "Epoch: 185/1000 Iteration: 1670 Train loss: 0.094626 Train acc: 0.963333\n",
      "Epoch: 185/1000 Iteration: 1670 Validation loss: 0.092920 Validation acc: 0.958889\n",
      "Epoch: 186/1000 Iteration: 1675 Train loss: 0.086911 Train acc: 0.961667\n",
      "Epoch: 186/1000 Iteration: 1680 Train loss: 0.089759 Train acc: 0.960000\n",
      "Epoch: 186/1000 Iteration: 1680 Validation loss: 0.092976 Validation acc: 0.958889\n",
      "Epoch: 187/1000 Iteration: 1685 Train loss: 0.082134 Train acc: 0.963333\n",
      "Epoch: 187/1000 Iteration: 1690 Train loss: 0.092596 Train acc: 0.961667\n",
      "Epoch: 187/1000 Iteration: 1690 Validation loss: 0.093303 Validation acc: 0.957778\n",
      "Epoch: 188/1000 Iteration: 1695 Train loss: 0.109855 Train acc: 0.940000\n",
      "Epoch: 188/1000 Iteration: 1700 Train loss: 0.066788 Train acc: 0.971667\n",
      "Epoch: 188/1000 Iteration: 1700 Validation loss: 0.092616 Validation acc: 0.958889\n",
      "Epoch: 189/1000 Iteration: 1705 Train loss: 0.119446 Train acc: 0.938333\n",
      "Epoch: 189/1000 Iteration: 1710 Train loss: 0.106210 Train acc: 0.956667\n",
      "Epoch: 189/1000 Iteration: 1710 Validation loss: 0.092300 Validation acc: 0.958889\n",
      "Epoch: 190/1000 Iteration: 1715 Train loss: 0.092315 Train acc: 0.956667\n",
      "Epoch: 191/1000 Iteration: 1720 Train loss: 0.084923 Train acc: 0.965000\n",
      "Epoch: 191/1000 Iteration: 1720 Validation loss: 0.092393 Validation acc: 0.958889\n",
      "Epoch: 191/1000 Iteration: 1725 Train loss: 0.086702 Train acc: 0.961667\n",
      "Epoch: 192/1000 Iteration: 1730 Train loss: 0.078546 Train acc: 0.966667\n",
      "Epoch: 192/1000 Iteration: 1730 Validation loss: 0.092037 Validation acc: 0.958333\n",
      "Epoch: 192/1000 Iteration: 1735 Train loss: 0.092927 Train acc: 0.961667\n",
      "Epoch: 193/1000 Iteration: 1740 Train loss: 0.105701 Train acc: 0.945000\n",
      "Epoch: 193/1000 Iteration: 1740 Validation loss: 0.092005 Validation acc: 0.958889\n",
      "Epoch: 193/1000 Iteration: 1745 Train loss: 0.068709 Train acc: 0.975000\n",
      "Epoch: 194/1000 Iteration: 1750 Train loss: 0.114138 Train acc: 0.950000\n",
      "Epoch: 194/1000 Iteration: 1750 Validation loss: 0.091854 Validation acc: 0.958333\n",
      "Epoch: 194/1000 Iteration: 1755 Train loss: 0.099032 Train acc: 0.953333\n",
      "Epoch: 195/1000 Iteration: 1760 Train loss: 0.093309 Train acc: 0.961667\n",
      "Epoch: 195/1000 Iteration: 1760 Validation loss: 0.091711 Validation acc: 0.958333\n",
      "Epoch: 196/1000 Iteration: 1765 Train loss: 0.083789 Train acc: 0.965000\n",
      "Epoch: 196/1000 Iteration: 1770 Train loss: 0.088635 Train acc: 0.963333\n",
      "Epoch: 196/1000 Iteration: 1770 Validation loss: 0.091595 Validation acc: 0.957778\n",
      "Epoch: 197/1000 Iteration: 1775 Train loss: 0.084951 Train acc: 0.966667\n",
      "Epoch: 197/1000 Iteration: 1780 Train loss: 0.088032 Train acc: 0.965000\n",
      "Epoch: 197/1000 Iteration: 1780 Validation loss: 0.091313 Validation acc: 0.958889\n",
      "Epoch: 198/1000 Iteration: 1785 Train loss: 0.109462 Train acc: 0.938333\n",
      "Epoch: 198/1000 Iteration: 1790 Train loss: 0.073342 Train acc: 0.968333\n",
      "Epoch: 198/1000 Iteration: 1790 Validation loss: 0.091239 Validation acc: 0.958889\n",
      "Epoch: 199/1000 Iteration: 1795 Train loss: 0.114788 Train acc: 0.936667\n",
      "Epoch: 199/1000 Iteration: 1800 Train loss: 0.095043 Train acc: 0.961667\n",
      "Epoch: 199/1000 Iteration: 1800 Validation loss: 0.091191 Validation acc: 0.958333\n",
      "Epoch: 200/1000 Iteration: 1805 Train loss: 0.099527 Train acc: 0.956667\n",
      "Epoch: 201/1000 Iteration: 1810 Train loss: 0.082687 Train acc: 0.961667\n",
      "Epoch: 201/1000 Iteration: 1810 Validation loss: 0.091082 Validation acc: 0.958333\n",
      "Epoch: 201/1000 Iteration: 1815 Train loss: 0.083930 Train acc: 0.963333\n",
      "Epoch: 202/1000 Iteration: 1820 Train loss: 0.082994 Train acc: 0.961667\n",
      "Epoch: 202/1000 Iteration: 1820 Validation loss: 0.090763 Validation acc: 0.958889\n",
      "Epoch: 202/1000 Iteration: 1825 Train loss: 0.095186 Train acc: 0.965000\n",
      "Epoch: 203/1000 Iteration: 1830 Train loss: 0.113213 Train acc: 0.945000\n",
      "Epoch: 203/1000 Iteration: 1830 Validation loss: 0.090709 Validation acc: 0.958889\n",
      "Epoch: 203/1000 Iteration: 1835 Train loss: 0.069821 Train acc: 0.966667\n",
      "Epoch: 204/1000 Iteration: 1840 Train loss: 0.114629 Train acc: 0.938333\n",
      "Epoch: 204/1000 Iteration: 1840 Validation loss: 0.090693 Validation acc: 0.958333\n",
      "Epoch: 204/1000 Iteration: 1845 Train loss: 0.099620 Train acc: 0.956667\n",
      "Epoch: 205/1000 Iteration: 1850 Train loss: 0.081807 Train acc: 0.971667\n",
      "Epoch: 205/1000 Iteration: 1850 Validation loss: 0.090522 Validation acc: 0.957778\n",
      "Epoch: 206/1000 Iteration: 1855 Train loss: 0.082684 Train acc: 0.961667\n",
      "Epoch: 206/1000 Iteration: 1860 Train loss: 0.082375 Train acc: 0.966667\n",
      "Epoch: 206/1000 Iteration: 1860 Validation loss: 0.090273 Validation acc: 0.958889\n",
      "Epoch: 207/1000 Iteration: 1865 Train loss: 0.078055 Train acc: 0.965000\n",
      "Epoch: 207/1000 Iteration: 1870 Train loss: 0.088681 Train acc: 0.966667\n",
      "Epoch: 207/1000 Iteration: 1870 Validation loss: 0.090271 Validation acc: 0.957778\n",
      "Epoch: 208/1000 Iteration: 1875 Train loss: 0.105851 Train acc: 0.950000\n",
      "Epoch: 208/1000 Iteration: 1880 Train loss: 0.067408 Train acc: 0.968333\n",
      "Epoch: 208/1000 Iteration: 1880 Validation loss: 0.090175 Validation acc: 0.957778\n",
      "Epoch: 209/1000 Iteration: 1885 Train loss: 0.111555 Train acc: 0.950000\n",
      "Epoch: 209/1000 Iteration: 1890 Train loss: 0.093715 Train acc: 0.963333\n",
      "Epoch: 209/1000 Iteration: 1890 Validation loss: 0.089999 Validation acc: 0.958333\n",
      "Epoch: 210/1000 Iteration: 1895 Train loss: 0.090549 Train acc: 0.958333\n",
      "Epoch: 211/1000 Iteration: 1900 Train loss: 0.080323 Train acc: 0.970000\n",
      "Epoch: 211/1000 Iteration: 1900 Validation loss: 0.089918 Validation acc: 0.957778\n",
      "Epoch: 211/1000 Iteration: 1905 Train loss: 0.079658 Train acc: 0.970000\n",
      "Epoch: 212/1000 Iteration: 1910 Train loss: 0.077552 Train acc: 0.961667\n",
      "Epoch: 212/1000 Iteration: 1910 Validation loss: 0.089511 Validation acc: 0.958333\n",
      "Epoch: 212/1000 Iteration: 1915 Train loss: 0.087592 Train acc: 0.966667\n",
      "Epoch: 213/1000 Iteration: 1920 Train loss: 0.108426 Train acc: 0.940000\n",
      "Epoch: 213/1000 Iteration: 1920 Validation loss: 0.089480 Validation acc: 0.957778\n",
      "Epoch: 213/1000 Iteration: 1925 Train loss: 0.070512 Train acc: 0.970000\n",
      "Epoch: 214/1000 Iteration: 1930 Train loss: 0.112533 Train acc: 0.941667\n",
      "Epoch: 214/1000 Iteration: 1930 Validation loss: 0.089257 Validation acc: 0.957778\n",
      "Epoch: 214/1000 Iteration: 1935 Train loss: 0.094800 Train acc: 0.958333\n",
      "Epoch: 215/1000 Iteration: 1940 Train loss: 0.091048 Train acc: 0.960000\n",
      "Epoch: 215/1000 Iteration: 1940 Validation loss: 0.089147 Validation acc: 0.958333\n",
      "Epoch: 216/1000 Iteration: 1945 Train loss: 0.083707 Train acc: 0.966667\n",
      "Epoch: 216/1000 Iteration: 1950 Train loss: 0.081315 Train acc: 0.961667\n",
      "Epoch: 216/1000 Iteration: 1950 Validation loss: 0.088819 Validation acc: 0.958333\n",
      "Epoch: 217/1000 Iteration: 1955 Train loss: 0.077843 Train acc: 0.965000\n",
      "Epoch: 217/1000 Iteration: 1960 Train loss: 0.090706 Train acc: 0.965000\n",
      "Epoch: 217/1000 Iteration: 1960 Validation loss: 0.088691 Validation acc: 0.957778\n",
      "Epoch: 218/1000 Iteration: 1965 Train loss: 0.103232 Train acc: 0.940000\n",
      "Epoch: 218/1000 Iteration: 1970 Train loss: 0.063462 Train acc: 0.971667\n",
      "Epoch: 218/1000 Iteration: 1970 Validation loss: 0.088605 Validation acc: 0.957778\n",
      "Epoch: 219/1000 Iteration: 1975 Train loss: 0.108290 Train acc: 0.948333\n",
      "Epoch: 219/1000 Iteration: 1980 Train loss: 0.092748 Train acc: 0.961667\n",
      "Epoch: 219/1000 Iteration: 1980 Validation loss: 0.088475 Validation acc: 0.957778\n",
      "Epoch: 220/1000 Iteration: 1985 Train loss: 0.091243 Train acc: 0.956667\n",
      "Epoch: 221/1000 Iteration: 1990 Train loss: 0.080075 Train acc: 0.965000\n",
      "Epoch: 221/1000 Iteration: 1990 Validation loss: 0.088299 Validation acc: 0.958333\n",
      "Epoch: 221/1000 Iteration: 1995 Train loss: 0.072936 Train acc: 0.965000\n",
      "Epoch: 222/1000 Iteration: 2000 Train loss: 0.076147 Train acc: 0.965000\n",
      "Epoch: 222/1000 Iteration: 2000 Validation loss: 0.088044 Validation acc: 0.957778\n",
      "Epoch: 222/1000 Iteration: 2005 Train loss: 0.084594 Train acc: 0.968333\n",
      "Epoch: 223/1000 Iteration: 2010 Train loss: 0.099684 Train acc: 0.951667\n",
      "Epoch: 223/1000 Iteration: 2010 Validation loss: 0.088049 Validation acc: 0.958333\n",
      "Epoch: 223/1000 Iteration: 2015 Train loss: 0.064393 Train acc: 0.970000\n",
      "Epoch: 224/1000 Iteration: 2020 Train loss: 0.114923 Train acc: 0.946667\n",
      "Epoch: 224/1000 Iteration: 2020 Validation loss: 0.088087 Validation acc: 0.958333\n",
      "Epoch: 224/1000 Iteration: 2025 Train loss: 0.093074 Train acc: 0.956667\n",
      "Epoch: 225/1000 Iteration: 2030 Train loss: 0.087966 Train acc: 0.965000\n",
      "Epoch: 225/1000 Iteration: 2030 Validation loss: 0.087836 Validation acc: 0.958333\n",
      "Epoch: 226/1000 Iteration: 2035 Train loss: 0.075386 Train acc: 0.968333\n",
      "Epoch: 226/1000 Iteration: 2040 Train loss: 0.084888 Train acc: 0.960000\n",
      "Epoch: 226/1000 Iteration: 2040 Validation loss: 0.087489 Validation acc: 0.958333\n",
      "Epoch: 227/1000 Iteration: 2045 Train loss: 0.080426 Train acc: 0.965000\n",
      "Epoch: 227/1000 Iteration: 2050 Train loss: 0.086847 Train acc: 0.966667\n",
      "Epoch: 227/1000 Iteration: 2050 Validation loss: 0.087477 Validation acc: 0.958333\n",
      "Epoch: 228/1000 Iteration: 2055 Train loss: 0.100201 Train acc: 0.946667\n",
      "Epoch: 228/1000 Iteration: 2060 Train loss: 0.061729 Train acc: 0.973333\n",
      "Epoch: 228/1000 Iteration: 2060 Validation loss: 0.087371 Validation acc: 0.957778\n",
      "Epoch: 229/1000 Iteration: 2065 Train loss: 0.113421 Train acc: 0.940000\n",
      "Epoch: 229/1000 Iteration: 2070 Train loss: 0.089825 Train acc: 0.961667\n",
      "Epoch: 229/1000 Iteration: 2070 Validation loss: 0.087337 Validation acc: 0.958333\n",
      "Epoch: 230/1000 Iteration: 2075 Train loss: 0.088956 Train acc: 0.960000\n",
      "Epoch: 231/1000 Iteration: 2080 Train loss: 0.079054 Train acc: 0.966667\n",
      "Epoch: 231/1000 Iteration: 2080 Validation loss: 0.087403 Validation acc: 0.957778\n",
      "Epoch: 231/1000 Iteration: 2085 Train loss: 0.081526 Train acc: 0.958333\n",
      "Epoch: 232/1000 Iteration: 2090 Train loss: 0.073052 Train acc: 0.968333\n",
      "Epoch: 232/1000 Iteration: 2090 Validation loss: 0.086930 Validation acc: 0.957778\n",
      "Epoch: 232/1000 Iteration: 2095 Train loss: 0.083090 Train acc: 0.968333\n",
      "Epoch: 233/1000 Iteration: 2100 Train loss: 0.103685 Train acc: 0.940000\n",
      "Epoch: 233/1000 Iteration: 2100 Validation loss: 0.086665 Validation acc: 0.957778\n",
      "Epoch: 233/1000 Iteration: 2105 Train loss: 0.064337 Train acc: 0.973333\n",
      "Epoch: 234/1000 Iteration: 2110 Train loss: 0.111492 Train acc: 0.941667\n",
      "Epoch: 234/1000 Iteration: 2110 Validation loss: 0.086607 Validation acc: 0.957778\n",
      "Epoch: 234/1000 Iteration: 2115 Train loss: 0.088858 Train acc: 0.958333\n",
      "Epoch: 235/1000 Iteration: 2120 Train loss: 0.082614 Train acc: 0.960000\n",
      "Epoch: 235/1000 Iteration: 2120 Validation loss: 0.086747 Validation acc: 0.957778\n",
      "Epoch: 236/1000 Iteration: 2125 Train loss: 0.075723 Train acc: 0.961667\n",
      "Epoch: 236/1000 Iteration: 2130 Train loss: 0.075377 Train acc: 0.963333\n",
      "Epoch: 236/1000 Iteration: 2130 Validation loss: 0.086505 Validation acc: 0.957778\n",
      "Epoch: 237/1000 Iteration: 2135 Train loss: 0.077685 Train acc: 0.961667\n",
      "Epoch: 237/1000 Iteration: 2140 Train loss: 0.076257 Train acc: 0.971667\n",
      "Epoch: 237/1000 Iteration: 2140 Validation loss: 0.086133 Validation acc: 0.958333\n",
      "Epoch: 238/1000 Iteration: 2145 Train loss: 0.095861 Train acc: 0.950000\n",
      "Epoch: 238/1000 Iteration: 2150 Train loss: 0.062856 Train acc: 0.973333\n",
      "Epoch: 238/1000 Iteration: 2150 Validation loss: 0.086039 Validation acc: 0.957778\n",
      "Epoch: 239/1000 Iteration: 2155 Train loss: 0.111294 Train acc: 0.941667\n",
      "Epoch: 239/1000 Iteration: 2160 Train loss: 0.084007 Train acc: 0.965000\n",
      "Epoch: 239/1000 Iteration: 2160 Validation loss: 0.086042 Validation acc: 0.957778\n",
      "Epoch: 240/1000 Iteration: 2165 Train loss: 0.082062 Train acc: 0.963333\n",
      "Epoch: 241/1000 Iteration: 2170 Train loss: 0.080237 Train acc: 0.963333\n",
      "Epoch: 241/1000 Iteration: 2170 Validation loss: 0.086128 Validation acc: 0.958333\n",
      "Epoch: 241/1000 Iteration: 2175 Train loss: 0.074737 Train acc: 0.970000\n",
      "Epoch: 242/1000 Iteration: 2180 Train loss: 0.078817 Train acc: 0.963333\n",
      "Epoch: 242/1000 Iteration: 2180 Validation loss: 0.085549 Validation acc: 0.957778\n",
      "Epoch: 242/1000 Iteration: 2185 Train loss: 0.084439 Train acc: 0.965000\n",
      "Epoch: 243/1000 Iteration: 2190 Train loss: 0.100715 Train acc: 0.951667\n",
      "Epoch: 243/1000 Iteration: 2190 Validation loss: 0.085390 Validation acc: 0.957778\n",
      "Epoch: 243/1000 Iteration: 2195 Train loss: 0.062379 Train acc: 0.971667\n",
      "Epoch: 244/1000 Iteration: 2200 Train loss: 0.106493 Train acc: 0.943333\n",
      "Epoch: 244/1000 Iteration: 2200 Validation loss: 0.085111 Validation acc: 0.957778\n",
      "Epoch: 244/1000 Iteration: 2205 Train loss: 0.081731 Train acc: 0.966667\n",
      "Epoch: 245/1000 Iteration: 2210 Train loss: 0.086727 Train acc: 0.960000\n",
      "Epoch: 245/1000 Iteration: 2210 Validation loss: 0.085525 Validation acc: 0.957778\n",
      "Epoch: 246/1000 Iteration: 2215 Train loss: 0.078029 Train acc: 0.960000\n",
      "Epoch: 246/1000 Iteration: 2220 Train loss: 0.074896 Train acc: 0.960000\n",
      "Epoch: 246/1000 Iteration: 2220 Validation loss: 0.085212 Validation acc: 0.958333\n",
      "Epoch: 247/1000 Iteration: 2225 Train loss: 0.070988 Train acc: 0.963333\n",
      "Epoch: 247/1000 Iteration: 2230 Train loss: 0.078238 Train acc: 0.968333\n",
      "Epoch: 247/1000 Iteration: 2230 Validation loss: 0.085216 Validation acc: 0.957778\n",
      "Epoch: 248/1000 Iteration: 2235 Train loss: 0.104125 Train acc: 0.945000\n",
      "Epoch: 248/1000 Iteration: 2240 Train loss: 0.059109 Train acc: 0.975000\n",
      "Epoch: 248/1000 Iteration: 2240 Validation loss: 0.084771 Validation acc: 0.958333\n",
      "Epoch: 249/1000 Iteration: 2245 Train loss: 0.105052 Train acc: 0.945000\n",
      "Epoch: 249/1000 Iteration: 2250 Train loss: 0.082614 Train acc: 0.966667\n",
      "Epoch: 249/1000 Iteration: 2250 Validation loss: 0.084446 Validation acc: 0.958333\n",
      "Epoch: 250/1000 Iteration: 2255 Train loss: 0.081352 Train acc: 0.965000\n",
      "Epoch: 251/1000 Iteration: 2260 Train loss: 0.076711 Train acc: 0.965000\n",
      "Epoch: 251/1000 Iteration: 2260 Validation loss: 0.084421 Validation acc: 0.957778\n",
      "Epoch: 251/1000 Iteration: 2265 Train loss: 0.071304 Train acc: 0.966667\n",
      "Epoch: 252/1000 Iteration: 2270 Train loss: 0.076257 Train acc: 0.966667\n",
      "Epoch: 252/1000 Iteration: 2270 Validation loss: 0.084185 Validation acc: 0.959444\n",
      "Epoch: 252/1000 Iteration: 2275 Train loss: 0.078477 Train acc: 0.961667\n",
      "Epoch: 253/1000 Iteration: 2280 Train loss: 0.095997 Train acc: 0.950000\n",
      "Epoch: 253/1000 Iteration: 2280 Validation loss: 0.084081 Validation acc: 0.957778\n",
      "Epoch: 253/1000 Iteration: 2285 Train loss: 0.062406 Train acc: 0.971667\n",
      "Epoch: 254/1000 Iteration: 2290 Train loss: 0.105503 Train acc: 0.943333\n",
      "Epoch: 254/1000 Iteration: 2290 Validation loss: 0.084010 Validation acc: 0.958889\n",
      "Epoch: 254/1000 Iteration: 2295 Train loss: 0.085648 Train acc: 0.963333\n",
      "Epoch: 255/1000 Iteration: 2300 Train loss: 0.081183 Train acc: 0.958333\n",
      "Epoch: 255/1000 Iteration: 2300 Validation loss: 0.084013 Validation acc: 0.958889\n",
      "Epoch: 256/1000 Iteration: 2305 Train loss: 0.075026 Train acc: 0.966667\n",
      "Epoch: 256/1000 Iteration: 2310 Train loss: 0.070518 Train acc: 0.968333\n",
      "Epoch: 256/1000 Iteration: 2310 Validation loss: 0.083999 Validation acc: 0.958889\n",
      "Epoch: 257/1000 Iteration: 2315 Train loss: 0.070920 Train acc: 0.966667\n",
      "Epoch: 257/1000 Iteration: 2320 Train loss: 0.079214 Train acc: 0.965000\n",
      "Epoch: 257/1000 Iteration: 2320 Validation loss: 0.083343 Validation acc: 0.959444\n",
      "Epoch: 258/1000 Iteration: 2325 Train loss: 0.103423 Train acc: 0.945000\n",
      "Epoch: 258/1000 Iteration: 2330 Train loss: 0.063554 Train acc: 0.973333\n",
      "Epoch: 258/1000 Iteration: 2330 Validation loss: 0.083330 Validation acc: 0.958333\n",
      "Epoch: 259/1000 Iteration: 2335 Train loss: 0.107184 Train acc: 0.943333\n",
      "Epoch: 259/1000 Iteration: 2340 Train loss: 0.078724 Train acc: 0.961667\n",
      "Epoch: 259/1000 Iteration: 2340 Validation loss: 0.083698 Validation acc: 0.959444\n",
      "Epoch: 260/1000 Iteration: 2345 Train loss: 0.083412 Train acc: 0.960000\n",
      "Epoch: 261/1000 Iteration: 2350 Train loss: 0.071053 Train acc: 0.975000\n",
      "Epoch: 261/1000 Iteration: 2350 Validation loss: 0.083546 Validation acc: 0.960000\n",
      "Epoch: 261/1000 Iteration: 2355 Train loss: 0.074077 Train acc: 0.965000\n",
      "Epoch: 262/1000 Iteration: 2360 Train loss: 0.066610 Train acc: 0.965000\n",
      "Epoch: 262/1000 Iteration: 2360 Validation loss: 0.082983 Validation acc: 0.958889\n",
      "Epoch: 262/1000 Iteration: 2365 Train loss: 0.076932 Train acc: 0.966667\n",
      "Epoch: 263/1000 Iteration: 2370 Train loss: 0.097698 Train acc: 0.945000\n",
      "Epoch: 263/1000 Iteration: 2370 Validation loss: 0.082873 Validation acc: 0.959444\n",
      "Epoch: 263/1000 Iteration: 2375 Train loss: 0.059044 Train acc: 0.971667\n",
      "Epoch: 264/1000 Iteration: 2380 Train loss: 0.102138 Train acc: 0.948333\n",
      "Epoch: 264/1000 Iteration: 2380 Validation loss: 0.082720 Validation acc: 0.958889\n",
      "Epoch: 264/1000 Iteration: 2385 Train loss: 0.076666 Train acc: 0.965000\n",
      "Epoch: 265/1000 Iteration: 2390 Train loss: 0.081648 Train acc: 0.966667\n",
      "Epoch: 265/1000 Iteration: 2390 Validation loss: 0.082640 Validation acc: 0.960556\n",
      "Epoch: 266/1000 Iteration: 2395 Train loss: 0.068098 Train acc: 0.966667\n",
      "Epoch: 266/1000 Iteration: 2400 Train loss: 0.069347 Train acc: 0.968333\n",
      "Epoch: 266/1000 Iteration: 2400 Validation loss: 0.082449 Validation acc: 0.959444\n",
      "Epoch: 267/1000 Iteration: 2405 Train loss: 0.062921 Train acc: 0.970000\n",
      "Epoch: 267/1000 Iteration: 2410 Train loss: 0.073909 Train acc: 0.971667\n",
      "Epoch: 267/1000 Iteration: 2410 Validation loss: 0.082717 Validation acc: 0.960556\n",
      "Epoch: 268/1000 Iteration: 2415 Train loss: 0.094140 Train acc: 0.946667\n",
      "Epoch: 268/1000 Iteration: 2420 Train loss: 0.056354 Train acc: 0.980000\n",
      "Epoch: 268/1000 Iteration: 2420 Validation loss: 0.081928 Validation acc: 0.960000\n",
      "Epoch: 269/1000 Iteration: 2425 Train loss: 0.106171 Train acc: 0.946667\n",
      "Epoch: 269/1000 Iteration: 2430 Train loss: 0.075917 Train acc: 0.970000\n",
      "Epoch: 269/1000 Iteration: 2430 Validation loss: 0.081928 Validation acc: 0.959444\n",
      "Epoch: 270/1000 Iteration: 2435 Train loss: 0.081859 Train acc: 0.963333\n",
      "Epoch: 271/1000 Iteration: 2440 Train loss: 0.073594 Train acc: 0.970000\n",
      "Epoch: 271/1000 Iteration: 2440 Validation loss: 0.082112 Validation acc: 0.960556\n",
      "Epoch: 271/1000 Iteration: 2445 Train loss: 0.071901 Train acc: 0.965000\n",
      "Epoch: 272/1000 Iteration: 2450 Train loss: 0.070593 Train acc: 0.968333\n",
      "Epoch: 272/1000 Iteration: 2450 Validation loss: 0.081415 Validation acc: 0.960000\n",
      "Epoch: 272/1000 Iteration: 2455 Train loss: 0.080497 Train acc: 0.966667\n",
      "Epoch: 273/1000 Iteration: 2460 Train loss: 0.089521 Train acc: 0.951667\n",
      "Epoch: 273/1000 Iteration: 2460 Validation loss: 0.081285 Validation acc: 0.960000\n",
      "Epoch: 273/1000 Iteration: 2465 Train loss: 0.060413 Train acc: 0.978333\n",
      "Epoch: 274/1000 Iteration: 2470 Train loss: 0.101277 Train acc: 0.946667\n",
      "Epoch: 274/1000 Iteration: 2470 Validation loss: 0.081311 Validation acc: 0.960556\n",
      "Epoch: 274/1000 Iteration: 2475 Train loss: 0.074899 Train acc: 0.968333\n",
      "Epoch: 275/1000 Iteration: 2480 Train loss: 0.078966 Train acc: 0.966667\n",
      "Epoch: 275/1000 Iteration: 2480 Validation loss: 0.081131 Validation acc: 0.960000\n",
      "Epoch: 276/1000 Iteration: 2485 Train loss: 0.071943 Train acc: 0.970000\n",
      "Epoch: 276/1000 Iteration: 2490 Train loss: 0.075234 Train acc: 0.961667\n",
      "Epoch: 276/1000 Iteration: 2490 Validation loss: 0.080872 Validation acc: 0.959444\n",
      "Epoch: 277/1000 Iteration: 2495 Train loss: 0.067968 Train acc: 0.968333\n",
      "Epoch: 277/1000 Iteration: 2500 Train loss: 0.073695 Train acc: 0.961667\n",
      "Epoch: 277/1000 Iteration: 2500 Validation loss: 0.080950 Validation acc: 0.960000\n",
      "Epoch: 278/1000 Iteration: 2505 Train loss: 0.090711 Train acc: 0.953333\n",
      "Epoch: 278/1000 Iteration: 2510 Train loss: 0.053851 Train acc: 0.975000\n",
      "Epoch: 278/1000 Iteration: 2510 Validation loss: 0.080519 Validation acc: 0.960556\n",
      "Epoch: 279/1000 Iteration: 2515 Train loss: 0.099566 Train acc: 0.945000\n",
      "Epoch: 279/1000 Iteration: 2520 Train loss: 0.078298 Train acc: 0.965000\n",
      "Epoch: 279/1000 Iteration: 2520 Validation loss: 0.080726 Validation acc: 0.961111\n",
      "Epoch: 280/1000 Iteration: 2525 Train loss: 0.072758 Train acc: 0.965000\n",
      "Epoch: 281/1000 Iteration: 2530 Train loss: 0.070233 Train acc: 0.971667\n",
      "Epoch: 281/1000 Iteration: 2530 Validation loss: 0.080731 Validation acc: 0.961111\n",
      "Epoch: 281/1000 Iteration: 2535 Train loss: 0.070749 Train acc: 0.971667\n",
      "Epoch: 282/1000 Iteration: 2540 Train loss: 0.068686 Train acc: 0.965000\n",
      "Epoch: 282/1000 Iteration: 2540 Validation loss: 0.080282 Validation acc: 0.961111\n",
      "Epoch: 282/1000 Iteration: 2545 Train loss: 0.069650 Train acc: 0.970000\n",
      "Epoch: 283/1000 Iteration: 2550 Train loss: 0.091402 Train acc: 0.948333\n",
      "Epoch: 283/1000 Iteration: 2550 Validation loss: 0.079981 Validation acc: 0.961667\n",
      "Epoch: 283/1000 Iteration: 2555 Train loss: 0.057925 Train acc: 0.975000\n",
      "Epoch: 284/1000 Iteration: 2560 Train loss: 0.105746 Train acc: 0.943333\n",
      "Epoch: 284/1000 Iteration: 2560 Validation loss: 0.079924 Validation acc: 0.961111\n",
      "Epoch: 284/1000 Iteration: 2565 Train loss: 0.072740 Train acc: 0.965000\n",
      "Epoch: 285/1000 Iteration: 2570 Train loss: 0.076627 Train acc: 0.968333\n",
      "Epoch: 285/1000 Iteration: 2570 Validation loss: 0.079439 Validation acc: 0.961111\n",
      "Epoch: 286/1000 Iteration: 2575 Train loss: 0.066199 Train acc: 0.971667\n",
      "Epoch: 286/1000 Iteration: 2580 Train loss: 0.073061 Train acc: 0.968333\n",
      "Epoch: 286/1000 Iteration: 2580 Validation loss: 0.079693 Validation acc: 0.962222\n",
      "Epoch: 287/1000 Iteration: 2585 Train loss: 0.068303 Train acc: 0.966667\n",
      "Epoch: 287/1000 Iteration: 2590 Train loss: 0.077911 Train acc: 0.971667\n",
      "Epoch: 287/1000 Iteration: 2590 Validation loss: 0.079479 Validation acc: 0.962222\n",
      "Epoch: 288/1000 Iteration: 2595 Train loss: 0.094629 Train acc: 0.946667\n",
      "Epoch: 288/1000 Iteration: 2600 Train loss: 0.051939 Train acc: 0.981667\n",
      "Epoch: 288/1000 Iteration: 2600 Validation loss: 0.079442 Validation acc: 0.961667\n",
      "Epoch: 289/1000 Iteration: 2605 Train loss: 0.105111 Train acc: 0.943333\n",
      "Epoch: 289/1000 Iteration: 2610 Train loss: 0.079845 Train acc: 0.970000\n",
      "Epoch: 289/1000 Iteration: 2610 Validation loss: 0.079514 Validation acc: 0.962222\n",
      "Epoch: 290/1000 Iteration: 2615 Train loss: 0.070859 Train acc: 0.968333\n",
      "Epoch: 291/1000 Iteration: 2620 Train loss: 0.063209 Train acc: 0.968333\n",
      "Epoch: 291/1000 Iteration: 2620 Validation loss: 0.078855 Validation acc: 0.962222\n",
      "Epoch: 291/1000 Iteration: 2625 Train loss: 0.068706 Train acc: 0.970000\n",
      "Epoch: 292/1000 Iteration: 2630 Train loss: 0.071485 Train acc: 0.968333\n",
      "Epoch: 292/1000 Iteration: 2630 Validation loss: 0.078741 Validation acc: 0.961667\n",
      "Epoch: 292/1000 Iteration: 2635 Train loss: 0.075970 Train acc: 0.968333\n",
      "Epoch: 293/1000 Iteration: 2640 Train loss: 0.094629 Train acc: 0.948333\n",
      "Epoch: 293/1000 Iteration: 2640 Validation loss: 0.078492 Validation acc: 0.961111\n",
      "Epoch: 293/1000 Iteration: 2645 Train loss: 0.053726 Train acc: 0.975000\n",
      "Epoch: 294/1000 Iteration: 2650 Train loss: 0.097777 Train acc: 0.951667\n",
      "Epoch: 294/1000 Iteration: 2650 Validation loss: 0.078589 Validation acc: 0.962778\n",
      "Epoch: 294/1000 Iteration: 2655 Train loss: 0.066557 Train acc: 0.970000\n",
      "Epoch: 295/1000 Iteration: 2660 Train loss: 0.072875 Train acc: 0.975000\n",
      "Epoch: 295/1000 Iteration: 2660 Validation loss: 0.078179 Validation acc: 0.962222\n",
      "Epoch: 296/1000 Iteration: 2665 Train loss: 0.068366 Train acc: 0.970000\n",
      "Epoch: 296/1000 Iteration: 2670 Train loss: 0.070569 Train acc: 0.970000\n",
      "Epoch: 296/1000 Iteration: 2670 Validation loss: 0.078094 Validation acc: 0.962778\n",
      "Epoch: 297/1000 Iteration: 2675 Train loss: 0.063489 Train acc: 0.966667\n",
      "Epoch: 297/1000 Iteration: 2680 Train loss: 0.065871 Train acc: 0.973333\n",
      "Epoch: 297/1000 Iteration: 2680 Validation loss: 0.078426 Validation acc: 0.962778\n",
      "Epoch: 298/1000 Iteration: 2685 Train loss: 0.090104 Train acc: 0.951667\n",
      "Epoch: 298/1000 Iteration: 2690 Train loss: 0.056357 Train acc: 0.973333\n",
      "Epoch: 298/1000 Iteration: 2690 Validation loss: 0.078033 Validation acc: 0.962222\n",
      "Epoch: 299/1000 Iteration: 2695 Train loss: 0.098707 Train acc: 0.953333\n",
      "Epoch: 299/1000 Iteration: 2700 Train loss: 0.066799 Train acc: 0.973333\n",
      "Epoch: 299/1000 Iteration: 2700 Validation loss: 0.077777 Validation acc: 0.962222\n",
      "Epoch: 300/1000 Iteration: 2705 Train loss: 0.072286 Train acc: 0.966667\n",
      "Epoch: 301/1000 Iteration: 2710 Train loss: 0.067728 Train acc: 0.970000\n",
      "Epoch: 301/1000 Iteration: 2710 Validation loss: 0.077627 Validation acc: 0.962778\n",
      "Epoch: 301/1000 Iteration: 2715 Train loss: 0.066254 Train acc: 0.966667\n",
      "Epoch: 302/1000 Iteration: 2720 Train loss: 0.062626 Train acc: 0.968333\n",
      "Epoch: 302/1000 Iteration: 2720 Validation loss: 0.077612 Validation acc: 0.962222\n",
      "Epoch: 302/1000 Iteration: 2725 Train loss: 0.066426 Train acc: 0.971667\n",
      "Epoch: 303/1000 Iteration: 2730 Train loss: 0.088119 Train acc: 0.956667\n",
      "Epoch: 303/1000 Iteration: 2730 Validation loss: 0.077438 Validation acc: 0.962222\n",
      "Epoch: 303/1000 Iteration: 2735 Train loss: 0.055895 Train acc: 0.978333\n",
      "Epoch: 304/1000 Iteration: 2740 Train loss: 0.091687 Train acc: 0.945000\n",
      "Epoch: 304/1000 Iteration: 2740 Validation loss: 0.077194 Validation acc: 0.962778\n",
      "Epoch: 304/1000 Iteration: 2745 Train loss: 0.073302 Train acc: 0.961667\n",
      "Epoch: 305/1000 Iteration: 2750 Train loss: 0.069313 Train acc: 0.970000\n",
      "Epoch: 305/1000 Iteration: 2750 Validation loss: 0.077524 Validation acc: 0.962222\n",
      "Epoch: 306/1000 Iteration: 2755 Train loss: 0.061036 Train acc: 0.970000\n",
      "Epoch: 306/1000 Iteration: 2760 Train loss: 0.062283 Train acc: 0.968333\n",
      "Epoch: 306/1000 Iteration: 2760 Validation loss: 0.076788 Validation acc: 0.962222\n",
      "Epoch: 307/1000 Iteration: 2765 Train loss: 0.061163 Train acc: 0.970000\n",
      "Epoch: 307/1000 Iteration: 2770 Train loss: 0.068260 Train acc: 0.970000\n",
      "Epoch: 307/1000 Iteration: 2770 Validation loss: 0.076622 Validation acc: 0.962778\n",
      "Epoch: 308/1000 Iteration: 2775 Train loss: 0.082915 Train acc: 0.958333\n",
      "Epoch: 308/1000 Iteration: 2780 Train loss: 0.055862 Train acc: 0.975000\n",
      "Epoch: 308/1000 Iteration: 2780 Validation loss: 0.076596 Validation acc: 0.962778\n",
      "Epoch: 309/1000 Iteration: 2785 Train loss: 0.098556 Train acc: 0.950000\n",
      "Epoch: 309/1000 Iteration: 2790 Train loss: 0.065137 Train acc: 0.970000\n",
      "Epoch: 309/1000 Iteration: 2790 Validation loss: 0.076165 Validation acc: 0.962778\n",
      "Epoch: 310/1000 Iteration: 2795 Train loss: 0.071125 Train acc: 0.965000\n",
      "Epoch: 311/1000 Iteration: 2800 Train loss: 0.062684 Train acc: 0.975000\n",
      "Epoch: 311/1000 Iteration: 2800 Validation loss: 0.076511 Validation acc: 0.962222\n",
      "Epoch: 311/1000 Iteration: 2805 Train loss: 0.060433 Train acc: 0.978333\n",
      "Epoch: 312/1000 Iteration: 2810 Train loss: 0.056259 Train acc: 0.970000\n",
      "Epoch: 312/1000 Iteration: 2810 Validation loss: 0.075969 Validation acc: 0.962222\n",
      "Epoch: 312/1000 Iteration: 2815 Train loss: 0.067139 Train acc: 0.971667\n",
      "Epoch: 313/1000 Iteration: 2820 Train loss: 0.094183 Train acc: 0.951667\n",
      "Epoch: 313/1000 Iteration: 2820 Validation loss: 0.075761 Validation acc: 0.962222\n",
      "Epoch: 313/1000 Iteration: 2825 Train loss: 0.054191 Train acc: 0.971667\n",
      "Epoch: 314/1000 Iteration: 2830 Train loss: 0.101587 Train acc: 0.946667\n",
      "Epoch: 314/1000 Iteration: 2830 Validation loss: 0.075616 Validation acc: 0.962222\n",
      "Epoch: 314/1000 Iteration: 2835 Train loss: 0.065243 Train acc: 0.970000\n",
      "Epoch: 315/1000 Iteration: 2840 Train loss: 0.071324 Train acc: 0.968333\n",
      "Epoch: 315/1000 Iteration: 2840 Validation loss: 0.075681 Validation acc: 0.962222\n",
      "Epoch: 316/1000 Iteration: 2845 Train loss: 0.062445 Train acc: 0.971667\n",
      "Epoch: 316/1000 Iteration: 2850 Train loss: 0.065448 Train acc: 0.971667\n",
      "Epoch: 316/1000 Iteration: 2850 Validation loss: 0.075101 Validation acc: 0.962222\n",
      "Epoch: 317/1000 Iteration: 2855 Train loss: 0.060325 Train acc: 0.966667\n",
      "Epoch: 317/1000 Iteration: 2860 Train loss: 0.069300 Train acc: 0.970000\n",
      "Epoch: 317/1000 Iteration: 2860 Validation loss: 0.075174 Validation acc: 0.963333\n",
      "Epoch: 318/1000 Iteration: 2865 Train loss: 0.087090 Train acc: 0.953333\n",
      "Epoch: 318/1000 Iteration: 2870 Train loss: 0.051849 Train acc: 0.980000\n",
      "Epoch: 318/1000 Iteration: 2870 Validation loss: 0.075389 Validation acc: 0.962222\n",
      "Epoch: 319/1000 Iteration: 2875 Train loss: 0.087604 Train acc: 0.951667\n",
      "Epoch: 319/1000 Iteration: 2880 Train loss: 0.065219 Train acc: 0.968333\n",
      "Epoch: 319/1000 Iteration: 2880 Validation loss: 0.075191 Validation acc: 0.963889\n",
      "Epoch: 320/1000 Iteration: 2885 Train loss: 0.069026 Train acc: 0.965000\n",
      "Epoch: 321/1000 Iteration: 2890 Train loss: 0.061732 Train acc: 0.970000\n",
      "Epoch: 321/1000 Iteration: 2890 Validation loss: 0.074593 Validation acc: 0.962778\n",
      "Epoch: 321/1000 Iteration: 2895 Train loss: 0.061999 Train acc: 0.966667\n",
      "Epoch: 322/1000 Iteration: 2900 Train loss: 0.058590 Train acc: 0.970000\n",
      "Epoch: 322/1000 Iteration: 2900 Validation loss: 0.075268 Validation acc: 0.963333\n",
      "Epoch: 322/1000 Iteration: 2905 Train loss: 0.069968 Train acc: 0.968333\n",
      "Epoch: 323/1000 Iteration: 2910 Train loss: 0.082869 Train acc: 0.960000\n",
      "Epoch: 323/1000 Iteration: 2910 Validation loss: 0.074778 Validation acc: 0.963333\n",
      "Epoch: 323/1000 Iteration: 2915 Train loss: 0.051866 Train acc: 0.981667\n",
      "Epoch: 324/1000 Iteration: 2920 Train loss: 0.088431 Train acc: 0.946667\n",
      "Epoch: 324/1000 Iteration: 2920 Validation loss: 0.074415 Validation acc: 0.962778\n",
      "Epoch: 324/1000 Iteration: 2925 Train loss: 0.066959 Train acc: 0.968333\n",
      "Epoch: 325/1000 Iteration: 2930 Train loss: 0.067616 Train acc: 0.970000\n",
      "Epoch: 325/1000 Iteration: 2930 Validation loss: 0.074780 Validation acc: 0.962778\n",
      "Epoch: 326/1000 Iteration: 2935 Train loss: 0.058310 Train acc: 0.971667\n",
      "Epoch: 326/1000 Iteration: 2940 Train loss: 0.057010 Train acc: 0.978333\n",
      "Epoch: 326/1000 Iteration: 2940 Validation loss: 0.074069 Validation acc: 0.962778\n",
      "Epoch: 327/1000 Iteration: 2945 Train loss: 0.052481 Train acc: 0.975000\n",
      "Epoch: 327/1000 Iteration: 2950 Train loss: 0.066428 Train acc: 0.968333\n",
      "Epoch: 327/1000 Iteration: 2950 Validation loss: 0.073900 Validation acc: 0.962778\n",
      "Epoch: 328/1000 Iteration: 2955 Train loss: 0.082408 Train acc: 0.951667\n",
      "Epoch: 328/1000 Iteration: 2960 Train loss: 0.050851 Train acc: 0.981667\n",
      "Epoch: 328/1000 Iteration: 2960 Validation loss: 0.073839 Validation acc: 0.962778\n",
      "Epoch: 329/1000 Iteration: 2965 Train loss: 0.086662 Train acc: 0.956667\n",
      "Epoch: 329/1000 Iteration: 2970 Train loss: 0.063400 Train acc: 0.971667\n",
      "Epoch: 329/1000 Iteration: 2970 Validation loss: 0.073874 Validation acc: 0.963333\n",
      "Epoch: 330/1000 Iteration: 2975 Train loss: 0.068012 Train acc: 0.970000\n",
      "Epoch: 331/1000 Iteration: 2980 Train loss: 0.061717 Train acc: 0.973333\n",
      "Epoch: 331/1000 Iteration: 2980 Validation loss: 0.073766 Validation acc: 0.963333\n",
      "Epoch: 331/1000 Iteration: 2985 Train loss: 0.060068 Train acc: 0.968333\n",
      "Epoch: 332/1000 Iteration: 2990 Train loss: 0.053906 Train acc: 0.971667\n",
      "Epoch: 332/1000 Iteration: 2990 Validation loss: 0.073544 Validation acc: 0.963333\n",
      "Epoch: 332/1000 Iteration: 2995 Train loss: 0.064462 Train acc: 0.971667\n",
      "Epoch: 333/1000 Iteration: 3000 Train loss: 0.077627 Train acc: 0.963333\n",
      "Epoch: 333/1000 Iteration: 3000 Validation loss: 0.073347 Validation acc: 0.962778\n",
      "Epoch: 333/1000 Iteration: 3005 Train loss: 0.053607 Train acc: 0.976667\n",
      "Epoch: 334/1000 Iteration: 3010 Train loss: 0.089468 Train acc: 0.948333\n",
      "Epoch: 334/1000 Iteration: 3010 Validation loss: 0.073242 Validation acc: 0.962778\n",
      "Epoch: 334/1000 Iteration: 3015 Train loss: 0.060449 Train acc: 0.971667\n",
      "Epoch: 335/1000 Iteration: 3020 Train loss: 0.065874 Train acc: 0.970000\n",
      "Epoch: 335/1000 Iteration: 3020 Validation loss: 0.073509 Validation acc: 0.962778\n",
      "Epoch: 336/1000 Iteration: 3025 Train loss: 0.059731 Train acc: 0.976667\n",
      "Epoch: 336/1000 Iteration: 3030 Train loss: 0.062452 Train acc: 0.970000\n",
      "Epoch: 336/1000 Iteration: 3030 Validation loss: 0.073060 Validation acc: 0.964444\n",
      "Epoch: 337/1000 Iteration: 3035 Train loss: 0.052479 Train acc: 0.976667\n",
      "Epoch: 337/1000 Iteration: 3040 Train loss: 0.069073 Train acc: 0.968333\n",
      "Epoch: 337/1000 Iteration: 3040 Validation loss: 0.072669 Validation acc: 0.962222\n",
      "Epoch: 338/1000 Iteration: 3045 Train loss: 0.087556 Train acc: 0.953333\n",
      "Epoch: 338/1000 Iteration: 3050 Train loss: 0.052013 Train acc: 0.973333\n",
      "Epoch: 338/1000 Iteration: 3050 Validation loss: 0.073249 Validation acc: 0.963889\n",
      "Epoch: 339/1000 Iteration: 3055 Train loss: 0.088210 Train acc: 0.955000\n",
      "Epoch: 339/1000 Iteration: 3060 Train loss: 0.060548 Train acc: 0.966667\n",
      "Epoch: 339/1000 Iteration: 3060 Validation loss: 0.072172 Validation acc: 0.962778\n",
      "Epoch: 340/1000 Iteration: 3065 Train loss: 0.065808 Train acc: 0.970000\n",
      "Epoch: 341/1000 Iteration: 3070 Train loss: 0.060751 Train acc: 0.971667\n",
      "Epoch: 341/1000 Iteration: 3070 Validation loss: 0.072349 Validation acc: 0.963889\n",
      "Epoch: 341/1000 Iteration: 3075 Train loss: 0.054264 Train acc: 0.980000\n",
      "Epoch: 342/1000 Iteration: 3080 Train loss: 0.054186 Train acc: 0.971667\n",
      "Epoch: 342/1000 Iteration: 3080 Validation loss: 0.072413 Validation acc: 0.963889\n",
      "Epoch: 342/1000 Iteration: 3085 Train loss: 0.066658 Train acc: 0.971667\n",
      "Epoch: 343/1000 Iteration: 3090 Train loss: 0.082984 Train acc: 0.951667\n",
      "Epoch: 343/1000 Iteration: 3090 Validation loss: 0.071990 Validation acc: 0.965000\n",
      "Epoch: 343/1000 Iteration: 3095 Train loss: 0.044021 Train acc: 0.983333\n",
      "Epoch: 344/1000 Iteration: 3100 Train loss: 0.088836 Train acc: 0.950000\n",
      "Epoch: 344/1000 Iteration: 3100 Validation loss: 0.071676 Validation acc: 0.962778\n",
      "Epoch: 344/1000 Iteration: 3105 Train loss: 0.060654 Train acc: 0.973333\n",
      "Epoch: 345/1000 Iteration: 3110 Train loss: 0.066425 Train acc: 0.970000\n",
      "Epoch: 345/1000 Iteration: 3110 Validation loss: 0.072191 Validation acc: 0.965000\n",
      "Epoch: 346/1000 Iteration: 3115 Train loss: 0.057084 Train acc: 0.978333\n",
      "Epoch: 346/1000 Iteration: 3120 Train loss: 0.057298 Train acc: 0.978333\n",
      "Epoch: 346/1000 Iteration: 3120 Validation loss: 0.071428 Validation acc: 0.962778\n",
      "Epoch: 347/1000 Iteration: 3125 Train loss: 0.055691 Train acc: 0.973333\n",
      "Epoch: 347/1000 Iteration: 3130 Train loss: 0.059593 Train acc: 0.973333\n",
      "Epoch: 347/1000 Iteration: 3130 Validation loss: 0.071155 Validation acc: 0.963889\n",
      "Epoch: 348/1000 Iteration: 3135 Train loss: 0.083678 Train acc: 0.953333\n",
      "Epoch: 348/1000 Iteration: 3140 Train loss: 0.047298 Train acc: 0.981667\n",
      "Epoch: 348/1000 Iteration: 3140 Validation loss: 0.071867 Validation acc: 0.967222\n",
      "Epoch: 349/1000 Iteration: 3145 Train loss: 0.090257 Train acc: 0.951667\n",
      "Epoch: 349/1000 Iteration: 3150 Train loss: 0.060132 Train acc: 0.975000\n",
      "Epoch: 349/1000 Iteration: 3150 Validation loss: 0.071064 Validation acc: 0.963333\n",
      "Epoch: 350/1000 Iteration: 3155 Train loss: 0.063410 Train acc: 0.968333\n",
      "Epoch: 351/1000 Iteration: 3160 Train loss: 0.059989 Train acc: 0.978333\n",
      "Epoch: 351/1000 Iteration: 3160 Validation loss: 0.070909 Validation acc: 0.966111\n",
      "Epoch: 351/1000 Iteration: 3165 Train loss: 0.054006 Train acc: 0.978333\n",
      "Epoch: 352/1000 Iteration: 3170 Train loss: 0.063510 Train acc: 0.970000\n",
      "Epoch: 352/1000 Iteration: 3170 Validation loss: 0.071156 Validation acc: 0.965555\n",
      "Epoch: 352/1000 Iteration: 3175 Train loss: 0.059177 Train acc: 0.968333\n",
      "Epoch: 353/1000 Iteration: 3180 Train loss: 0.079596 Train acc: 0.958333\n",
      "Epoch: 353/1000 Iteration: 3180 Validation loss: 0.071012 Validation acc: 0.967222\n",
      "Epoch: 353/1000 Iteration: 3185 Train loss: 0.044765 Train acc: 0.983333\n",
      "Epoch: 354/1000 Iteration: 3190 Train loss: 0.092157 Train acc: 0.950000\n",
      "Epoch: 354/1000 Iteration: 3190 Validation loss: 0.070552 Validation acc: 0.966111\n",
      "Epoch: 354/1000 Iteration: 3195 Train loss: 0.055980 Train acc: 0.976667\n",
      "Epoch: 355/1000 Iteration: 3200 Train loss: 0.061164 Train acc: 0.973333\n",
      "Epoch: 355/1000 Iteration: 3200 Validation loss: 0.071017 Validation acc: 0.966667\n",
      "Epoch: 356/1000 Iteration: 3205 Train loss: 0.059067 Train acc: 0.976667\n",
      "Epoch: 356/1000 Iteration: 3210 Train loss: 0.059145 Train acc: 0.978333\n",
      "Epoch: 356/1000 Iteration: 3210 Validation loss: 0.070402 Validation acc: 0.966667\n",
      "Epoch: 357/1000 Iteration: 3215 Train loss: 0.056935 Train acc: 0.968333\n",
      "Epoch: 357/1000 Iteration: 3220 Train loss: 0.056770 Train acc: 0.973333\n",
      "Epoch: 357/1000 Iteration: 3220 Validation loss: 0.070043 Validation acc: 0.967222\n",
      "Epoch: 358/1000 Iteration: 3225 Train loss: 0.077884 Train acc: 0.958333\n",
      "Epoch: 358/1000 Iteration: 3230 Train loss: 0.044893 Train acc: 0.981667\n",
      "Epoch: 358/1000 Iteration: 3230 Validation loss: 0.069999 Validation acc: 0.968889\n",
      "Epoch: 359/1000 Iteration: 3235 Train loss: 0.087417 Train acc: 0.960000\n",
      "Epoch: 359/1000 Iteration: 3240 Train loss: 0.053462 Train acc: 0.978333\n",
      "Epoch: 359/1000 Iteration: 3240 Validation loss: 0.070193 Validation acc: 0.968333\n",
      "Epoch: 360/1000 Iteration: 3245 Train loss: 0.062312 Train acc: 0.965000\n",
      "Epoch: 361/1000 Iteration: 3250 Train loss: 0.059708 Train acc: 0.973333\n",
      "Epoch: 361/1000 Iteration: 3250 Validation loss: 0.070269 Validation acc: 0.967778\n",
      "Epoch: 361/1000 Iteration: 3255 Train loss: 0.055683 Train acc: 0.975000\n",
      "Epoch: 362/1000 Iteration: 3260 Train loss: 0.050058 Train acc: 0.973333\n",
      "Epoch: 362/1000 Iteration: 3260 Validation loss: 0.069721 Validation acc: 0.968333\n",
      "Epoch: 362/1000 Iteration: 3265 Train loss: 0.061270 Train acc: 0.976667\n",
      "Epoch: 363/1000 Iteration: 3270 Train loss: 0.077617 Train acc: 0.958333\n",
      "Epoch: 363/1000 Iteration: 3270 Validation loss: 0.069485 Validation acc: 0.966667\n",
      "Epoch: 363/1000 Iteration: 3275 Train loss: 0.043637 Train acc: 0.985000\n",
      "Epoch: 364/1000 Iteration: 3280 Train loss: 0.079324 Train acc: 0.958333\n",
      "Epoch: 364/1000 Iteration: 3280 Validation loss: 0.069558 Validation acc: 0.968889\n",
      "Epoch: 364/1000 Iteration: 3285 Train loss: 0.055046 Train acc: 0.973333\n",
      "Epoch: 365/1000 Iteration: 3290 Train loss: 0.068461 Train acc: 0.970000\n",
      "Epoch: 365/1000 Iteration: 3290 Validation loss: 0.069376 Validation acc: 0.968333\n",
      "Epoch: 366/1000 Iteration: 3295 Train loss: 0.048590 Train acc: 0.981667\n",
      "Epoch: 366/1000 Iteration: 3300 Train loss: 0.050414 Train acc: 0.980000\n",
      "Epoch: 366/1000 Iteration: 3300 Validation loss: 0.069902 Validation acc: 0.968889\n",
      "Epoch: 367/1000 Iteration: 3305 Train loss: 0.050006 Train acc: 0.976667\n",
      "Epoch: 367/1000 Iteration: 3310 Train loss: 0.061711 Train acc: 0.978333\n",
      "Epoch: 367/1000 Iteration: 3310 Validation loss: 0.069450 Validation acc: 0.968889\n",
      "Epoch: 368/1000 Iteration: 3315 Train loss: 0.076861 Train acc: 0.955000\n",
      "Epoch: 368/1000 Iteration: 3320 Train loss: 0.043669 Train acc: 0.981667\n",
      "Epoch: 368/1000 Iteration: 3320 Validation loss: 0.069272 Validation acc: 0.968889\n",
      "Epoch: 369/1000 Iteration: 3325 Train loss: 0.087936 Train acc: 0.946667\n",
      "Epoch: 369/1000 Iteration: 3330 Train loss: 0.056763 Train acc: 0.973333\n",
      "Epoch: 369/1000 Iteration: 3330 Validation loss: 0.069193 Validation acc: 0.968333\n",
      "Epoch: 370/1000 Iteration: 3335 Train loss: 0.059485 Train acc: 0.975000\n",
      "Epoch: 371/1000 Iteration: 3340 Train loss: 0.058891 Train acc: 0.976667\n",
      "Epoch: 371/1000 Iteration: 3340 Validation loss: 0.069050 Validation acc: 0.968889\n",
      "Epoch: 371/1000 Iteration: 3345 Train loss: 0.054288 Train acc: 0.976667\n",
      "Epoch: 372/1000 Iteration: 3350 Train loss: 0.053555 Train acc: 0.978333\n",
      "Epoch: 372/1000 Iteration: 3350 Validation loss: 0.068631 Validation acc: 0.969444\n",
      "Epoch: 372/1000 Iteration: 3355 Train loss: 0.061493 Train acc: 0.976667\n",
      "Epoch: 373/1000 Iteration: 3360 Train loss: 0.077949 Train acc: 0.965000\n",
      "Epoch: 373/1000 Iteration: 3360 Validation loss: 0.068706 Validation acc: 0.970000\n",
      "Epoch: 373/1000 Iteration: 3365 Train loss: 0.044721 Train acc: 0.985000\n",
      "Epoch: 374/1000 Iteration: 3370 Train loss: 0.082127 Train acc: 0.960000\n",
      "Epoch: 374/1000 Iteration: 3370 Validation loss: 0.067930 Validation acc: 0.968333\n",
      "Epoch: 374/1000 Iteration: 3375 Train loss: 0.053574 Train acc: 0.975000\n",
      "Epoch: 375/1000 Iteration: 3380 Train loss: 0.057936 Train acc: 0.975000\n",
      "Epoch: 375/1000 Iteration: 3380 Validation loss: 0.068301 Validation acc: 0.968889\n",
      "Epoch: 376/1000 Iteration: 3385 Train loss: 0.055070 Train acc: 0.975000\n",
      "Epoch: 376/1000 Iteration: 3390 Train loss: 0.050852 Train acc: 0.975000\n",
      "Epoch: 376/1000 Iteration: 3390 Validation loss: 0.068349 Validation acc: 0.968889\n",
      "Epoch: 377/1000 Iteration: 3395 Train loss: 0.053577 Train acc: 0.975000\n",
      "Epoch: 377/1000 Iteration: 3400 Train loss: 0.057939 Train acc: 0.973333\n",
      "Epoch: 377/1000 Iteration: 3400 Validation loss: 0.068818 Validation acc: 0.968889\n",
      "Epoch: 378/1000 Iteration: 3405 Train loss: 0.073525 Train acc: 0.966667\n",
      "Epoch: 378/1000 Iteration: 3410 Train loss: 0.041657 Train acc: 0.985000\n",
      "Epoch: 378/1000 Iteration: 3410 Validation loss: 0.067951 Validation acc: 0.969444\n",
      "Epoch: 379/1000 Iteration: 3415 Train loss: 0.085967 Train acc: 0.955000\n",
      "Epoch: 379/1000 Iteration: 3420 Train loss: 0.051397 Train acc: 0.975000\n",
      "Epoch: 379/1000 Iteration: 3420 Validation loss: 0.067822 Validation acc: 0.968889\n",
      "Epoch: 380/1000 Iteration: 3425 Train loss: 0.061966 Train acc: 0.973333\n",
      "Epoch: 381/1000 Iteration: 3430 Train loss: 0.050663 Train acc: 0.978333\n",
      "Epoch: 381/1000 Iteration: 3430 Validation loss: 0.067904 Validation acc: 0.969444\n",
      "Epoch: 381/1000 Iteration: 3435 Train loss: 0.052514 Train acc: 0.973333\n",
      "Epoch: 382/1000 Iteration: 3440 Train loss: 0.047470 Train acc: 0.973333\n",
      "Epoch: 382/1000 Iteration: 3440 Validation loss: 0.067671 Validation acc: 0.968889\n",
      "Epoch: 382/1000 Iteration: 3445 Train loss: 0.056568 Train acc: 0.971667\n",
      "Epoch: 383/1000 Iteration: 3450 Train loss: 0.073177 Train acc: 0.961667\n",
      "Epoch: 383/1000 Iteration: 3450 Validation loss: 0.067630 Validation acc: 0.968889\n",
      "Epoch: 383/1000 Iteration: 3455 Train loss: 0.040258 Train acc: 0.983333\n",
      "Epoch: 384/1000 Iteration: 3460 Train loss: 0.077524 Train acc: 0.960000\n",
      "Epoch: 384/1000 Iteration: 3460 Validation loss: 0.067965 Validation acc: 0.968889\n",
      "Epoch: 384/1000 Iteration: 3465 Train loss: 0.052015 Train acc: 0.978333\n",
      "Epoch: 385/1000 Iteration: 3470 Train loss: 0.059699 Train acc: 0.973333\n",
      "Epoch: 385/1000 Iteration: 3470 Validation loss: 0.067140 Validation acc: 0.968889\n",
      "Epoch: 386/1000 Iteration: 3475 Train loss: 0.051366 Train acc: 0.983333\n",
      "Epoch: 386/1000 Iteration: 3480 Train loss: 0.045934 Train acc: 0.983333\n",
      "Epoch: 386/1000 Iteration: 3480 Validation loss: 0.066986 Validation acc: 0.969444\n",
      "Epoch: 387/1000 Iteration: 3485 Train loss: 0.042541 Train acc: 0.978333\n",
      "Epoch: 387/1000 Iteration: 3490 Train loss: 0.050897 Train acc: 0.973333\n",
      "Epoch: 387/1000 Iteration: 3490 Validation loss: 0.067246 Validation acc: 0.968889\n",
      "Epoch: 388/1000 Iteration: 3495 Train loss: 0.077030 Train acc: 0.963333\n",
      "Epoch: 388/1000 Iteration: 3500 Train loss: 0.044554 Train acc: 0.983333\n",
      "Epoch: 388/1000 Iteration: 3500 Validation loss: 0.067295 Validation acc: 0.970556\n",
      "Epoch: 389/1000 Iteration: 3505 Train loss: 0.084048 Train acc: 0.953333\n",
      "Epoch: 389/1000 Iteration: 3510 Train loss: 0.055373 Train acc: 0.973333\n",
      "Epoch: 389/1000 Iteration: 3510 Validation loss: 0.066842 Validation acc: 0.970556\n",
      "Epoch: 390/1000 Iteration: 3515 Train loss: 0.054519 Train acc: 0.975000\n",
      "Epoch: 391/1000 Iteration: 3520 Train loss: 0.053695 Train acc: 0.975000\n",
      "Epoch: 391/1000 Iteration: 3520 Validation loss: 0.066973 Validation acc: 0.970555\n",
      "Epoch: 391/1000 Iteration: 3525 Train loss: 0.049764 Train acc: 0.978333\n",
      "Epoch: 392/1000 Iteration: 3530 Train loss: 0.046453 Train acc: 0.976667\n",
      "Epoch: 392/1000 Iteration: 3530 Validation loss: 0.066601 Validation acc: 0.969444\n",
      "Epoch: 392/1000 Iteration: 3535 Train loss: 0.060769 Train acc: 0.970000\n",
      "Epoch: 393/1000 Iteration: 3540 Train loss: 0.075521 Train acc: 0.960000\n",
      "Epoch: 393/1000 Iteration: 3540 Validation loss: 0.066028 Validation acc: 0.968889\n",
      "Epoch: 393/1000 Iteration: 3545 Train loss: 0.038582 Train acc: 0.985000\n",
      "Epoch: 394/1000 Iteration: 3550 Train loss: 0.082638 Train acc: 0.961667\n",
      "Epoch: 394/1000 Iteration: 3550 Validation loss: 0.066205 Validation acc: 0.969444\n",
      "Epoch: 394/1000 Iteration: 3555 Train loss: 0.053609 Train acc: 0.970000\n",
      "Epoch: 395/1000 Iteration: 3560 Train loss: 0.060722 Train acc: 0.975000\n",
      "Epoch: 395/1000 Iteration: 3560 Validation loss: 0.067051 Validation acc: 0.970000\n",
      "Epoch: 396/1000 Iteration: 3565 Train loss: 0.049152 Train acc: 0.978333\n",
      "Epoch: 396/1000 Iteration: 3570 Train loss: 0.047538 Train acc: 0.978333\n",
      "Epoch: 396/1000 Iteration: 3570 Validation loss: 0.066581 Validation acc: 0.970000\n",
      "Epoch: 397/1000 Iteration: 3575 Train loss: 0.046020 Train acc: 0.978333\n",
      "Epoch: 397/1000 Iteration: 3580 Train loss: 0.050739 Train acc: 0.978333\n",
      "Epoch: 397/1000 Iteration: 3580 Validation loss: 0.065889 Validation acc: 0.971111\n",
      "Epoch: 398/1000 Iteration: 3585 Train loss: 0.076517 Train acc: 0.966667\n",
      "Epoch: 398/1000 Iteration: 3590 Train loss: 0.041994 Train acc: 0.980000\n",
      "Epoch: 398/1000 Iteration: 3590 Validation loss: 0.065742 Validation acc: 0.968889\n",
      "Epoch: 399/1000 Iteration: 3595 Train loss: 0.081272 Train acc: 0.960000\n",
      "Epoch: 399/1000 Iteration: 3600 Train loss: 0.053058 Train acc: 0.970000\n",
      "Epoch: 399/1000 Iteration: 3600 Validation loss: 0.066361 Validation acc: 0.970000\n",
      "Epoch: 400/1000 Iteration: 3605 Train loss: 0.057793 Train acc: 0.976667\n",
      "Epoch: 401/1000 Iteration: 3610 Train loss: 0.049780 Train acc: 0.980000\n",
      "Epoch: 401/1000 Iteration: 3610 Validation loss: 0.066160 Validation acc: 0.971667\n",
      "Epoch: 401/1000 Iteration: 3615 Train loss: 0.044607 Train acc: 0.980000\n",
      "Epoch: 402/1000 Iteration: 3620 Train loss: 0.048647 Train acc: 0.976667\n",
      "Epoch: 402/1000 Iteration: 3620 Validation loss: 0.065798 Validation acc: 0.969444\n",
      "Epoch: 402/1000 Iteration: 3625 Train loss: 0.055843 Train acc: 0.978333\n",
      "Epoch: 403/1000 Iteration: 3630 Train loss: 0.068416 Train acc: 0.963333\n",
      "Epoch: 403/1000 Iteration: 3630 Validation loss: 0.065872 Validation acc: 0.970555\n",
      "Epoch: 403/1000 Iteration: 3635 Train loss: 0.039725 Train acc: 0.981667\n",
      "Epoch: 404/1000 Iteration: 3640 Train loss: 0.085623 Train acc: 0.953333\n",
      "Epoch: 404/1000 Iteration: 3640 Validation loss: 0.065741 Validation acc: 0.969444\n",
      "Epoch: 404/1000 Iteration: 3645 Train loss: 0.048477 Train acc: 0.978333\n",
      "Epoch: 405/1000 Iteration: 3650 Train loss: 0.059315 Train acc: 0.973333\n",
      "Epoch: 405/1000 Iteration: 3650 Validation loss: 0.065591 Validation acc: 0.971667\n",
      "Epoch: 406/1000 Iteration: 3655 Train loss: 0.050272 Train acc: 0.978333\n",
      "Epoch: 406/1000 Iteration: 3660 Train loss: 0.044561 Train acc: 0.983333\n",
      "Epoch: 406/1000 Iteration: 3660 Validation loss: 0.065432 Validation acc: 0.969444\n",
      "Epoch: 407/1000 Iteration: 3665 Train loss: 0.048148 Train acc: 0.976667\n",
      "Epoch: 407/1000 Iteration: 3670 Train loss: 0.054590 Train acc: 0.968333\n",
      "Epoch: 407/1000 Iteration: 3670 Validation loss: 0.065460 Validation acc: 0.969444\n",
      "Epoch: 408/1000 Iteration: 3675 Train loss: 0.071743 Train acc: 0.965000\n",
      "Epoch: 408/1000 Iteration: 3680 Train loss: 0.035143 Train acc: 0.988333\n",
      "Epoch: 408/1000 Iteration: 3680 Validation loss: 0.065710 Validation acc: 0.972778\n",
      "Epoch: 409/1000 Iteration: 3685 Train loss: 0.076941 Train acc: 0.963333\n",
      "Epoch: 409/1000 Iteration: 3690 Train loss: 0.050484 Train acc: 0.973333\n",
      "Epoch: 409/1000 Iteration: 3690 Validation loss: 0.065349 Validation acc: 0.971667\n",
      "Epoch: 410/1000 Iteration: 3695 Train loss: 0.056455 Train acc: 0.971667\n",
      "Epoch: 411/1000 Iteration: 3700 Train loss: 0.048516 Train acc: 0.981667\n",
      "Epoch: 411/1000 Iteration: 3700 Validation loss: 0.065564 Validation acc: 0.971667\n",
      "Epoch: 411/1000 Iteration: 3705 Train loss: 0.044015 Train acc: 0.985000\n",
      "Epoch: 412/1000 Iteration: 3710 Train loss: 0.040094 Train acc: 0.981667\n",
      "Epoch: 412/1000 Iteration: 3710 Validation loss: 0.064370 Validation acc: 0.969444\n",
      "Epoch: 412/1000 Iteration: 3715 Train loss: 0.056104 Train acc: 0.973333\n",
      "Epoch: 413/1000 Iteration: 3720 Train loss: 0.071658 Train acc: 0.960000\n",
      "Epoch: 413/1000 Iteration: 3720 Validation loss: 0.064504 Validation acc: 0.971111\n",
      "Epoch: 413/1000 Iteration: 3725 Train loss: 0.038352 Train acc: 0.983333\n",
      "Epoch: 414/1000 Iteration: 3730 Train loss: 0.075775 Train acc: 0.960000\n",
      "Epoch: 414/1000 Iteration: 3730 Validation loss: 0.064925 Validation acc: 0.970000\n",
      "Epoch: 414/1000 Iteration: 3735 Train loss: 0.046751 Train acc: 0.975000\n",
      "Epoch: 415/1000 Iteration: 3740 Train loss: 0.051693 Train acc: 0.975000\n",
      "Epoch: 415/1000 Iteration: 3740 Validation loss: 0.064717 Validation acc: 0.970556\n",
      "Epoch: 416/1000 Iteration: 3745 Train loss: 0.045321 Train acc: 0.981667\n",
      "Epoch: 416/1000 Iteration: 3750 Train loss: 0.042930 Train acc: 0.985000\n",
      "Epoch: 416/1000 Iteration: 3750 Validation loss: 0.064588 Validation acc: 0.970000\n",
      "Epoch: 417/1000 Iteration: 3755 Train loss: 0.041362 Train acc: 0.980000\n",
      "Epoch: 417/1000 Iteration: 3760 Train loss: 0.046472 Train acc: 0.976667\n",
      "Epoch: 417/1000 Iteration: 3760 Validation loss: 0.064840 Validation acc: 0.972778\n",
      "Epoch: 418/1000 Iteration: 3765 Train loss: 0.066530 Train acc: 0.963333\n",
      "Epoch: 418/1000 Iteration: 3770 Train loss: 0.039232 Train acc: 0.986667\n",
      "Epoch: 418/1000 Iteration: 3770 Validation loss: 0.064293 Validation acc: 0.971667\n",
      "Epoch: 419/1000 Iteration: 3775 Train loss: 0.080133 Train acc: 0.966667\n",
      "Epoch: 419/1000 Iteration: 3780 Train loss: 0.047984 Train acc: 0.976667\n",
      "Epoch: 419/1000 Iteration: 3780 Validation loss: 0.064092 Validation acc: 0.972222\n",
      "Epoch: 420/1000 Iteration: 3785 Train loss: 0.055080 Train acc: 0.975000\n",
      "Epoch: 421/1000 Iteration: 3790 Train loss: 0.050182 Train acc: 0.975000\n",
      "Epoch: 421/1000 Iteration: 3790 Validation loss: 0.064378 Validation acc: 0.973333\n",
      "Epoch: 421/1000 Iteration: 3795 Train loss: 0.046820 Train acc: 0.981667\n",
      "Epoch: 422/1000 Iteration: 3800 Train loss: 0.038817 Train acc: 0.980000\n",
      "Epoch: 422/1000 Iteration: 3800 Validation loss: 0.064122 Validation acc: 0.971111\n",
      "Epoch: 422/1000 Iteration: 3805 Train loss: 0.047473 Train acc: 0.975000\n",
      "Epoch: 423/1000 Iteration: 3810 Train loss: 0.072868 Train acc: 0.968333\n",
      "Epoch: 423/1000 Iteration: 3810 Validation loss: 0.064025 Validation acc: 0.972222\n",
      "Epoch: 423/1000 Iteration: 3815 Train loss: 0.036310 Train acc: 0.990000\n",
      "Epoch: 424/1000 Iteration: 3820 Train loss: 0.071385 Train acc: 0.968333\n",
      "Epoch: 424/1000 Iteration: 3820 Validation loss: 0.063856 Validation acc: 0.971111\n",
      "Epoch: 424/1000 Iteration: 3825 Train loss: 0.039556 Train acc: 0.986667\n",
      "Epoch: 425/1000 Iteration: 3830 Train loss: 0.053707 Train acc: 0.980000\n",
      "Epoch: 425/1000 Iteration: 3830 Validation loss: 0.063601 Validation acc: 0.972222\n",
      "Epoch: 426/1000 Iteration: 3835 Train loss: 0.047837 Train acc: 0.978333\n",
      "Epoch: 426/1000 Iteration: 3840 Train loss: 0.045652 Train acc: 0.986667\n",
      "Epoch: 426/1000 Iteration: 3840 Validation loss: 0.063576 Validation acc: 0.972222\n",
      "Epoch: 427/1000 Iteration: 3845 Train loss: 0.040832 Train acc: 0.981667\n",
      "Epoch: 427/1000 Iteration: 3850 Train loss: 0.047772 Train acc: 0.980000\n",
      "Epoch: 427/1000 Iteration: 3850 Validation loss: 0.063563 Validation acc: 0.972222\n",
      "Epoch: 428/1000 Iteration: 3855 Train loss: 0.069910 Train acc: 0.970000\n",
      "Epoch: 428/1000 Iteration: 3860 Train loss: 0.032892 Train acc: 0.990000\n",
      "Epoch: 428/1000 Iteration: 3860 Validation loss: 0.063345 Validation acc: 0.972222\n",
      "Epoch: 429/1000 Iteration: 3865 Train loss: 0.077673 Train acc: 0.966667\n",
      "Epoch: 429/1000 Iteration: 3870 Train loss: 0.048775 Train acc: 0.976667\n",
      "Epoch: 429/1000 Iteration: 3870 Validation loss: 0.063373 Validation acc: 0.972222\n",
      "Epoch: 430/1000 Iteration: 3875 Train loss: 0.051444 Train acc: 0.978333\n",
      "Epoch: 431/1000 Iteration: 3880 Train loss: 0.045257 Train acc: 0.983333\n",
      "Epoch: 431/1000 Iteration: 3880 Validation loss: 0.063830 Validation acc: 0.973333\n",
      "Epoch: 431/1000 Iteration: 3885 Train loss: 0.042492 Train acc: 0.986667\n",
      "Epoch: 432/1000 Iteration: 3890 Train loss: 0.038598 Train acc: 0.985000\n",
      "Epoch: 432/1000 Iteration: 3890 Validation loss: 0.063265 Validation acc: 0.972778\n",
      "Epoch: 432/1000 Iteration: 3895 Train loss: 0.048599 Train acc: 0.981667\n",
      "Epoch: 433/1000 Iteration: 3900 Train loss: 0.066520 Train acc: 0.971667\n",
      "Epoch: 433/1000 Iteration: 3900 Validation loss: 0.062940 Validation acc: 0.972778\n",
      "Epoch: 433/1000 Iteration: 3905 Train loss: 0.035641 Train acc: 0.988333\n",
      "Epoch: 434/1000 Iteration: 3910 Train loss: 0.070169 Train acc: 0.963333\n",
      "Epoch: 434/1000 Iteration: 3910 Validation loss: 0.063099 Validation acc: 0.972778\n",
      "Epoch: 434/1000 Iteration: 3915 Train loss: 0.045778 Train acc: 0.978333\n",
      "Epoch: 435/1000 Iteration: 3920 Train loss: 0.058331 Train acc: 0.973333\n",
      "Epoch: 435/1000 Iteration: 3920 Validation loss: 0.063529 Validation acc: 0.972778\n",
      "Epoch: 436/1000 Iteration: 3925 Train loss: 0.047090 Train acc: 0.976667\n",
      "Epoch: 436/1000 Iteration: 3930 Train loss: 0.041750 Train acc: 0.988333\n",
      "Epoch: 436/1000 Iteration: 3930 Validation loss: 0.063063 Validation acc: 0.973333\n",
      "Epoch: 437/1000 Iteration: 3935 Train loss: 0.038308 Train acc: 0.983333\n",
      "Epoch: 437/1000 Iteration: 3940 Train loss: 0.050303 Train acc: 0.980000\n",
      "Epoch: 437/1000 Iteration: 3940 Validation loss: 0.062820 Validation acc: 0.973333\n",
      "Epoch: 438/1000 Iteration: 3945 Train loss: 0.061309 Train acc: 0.966667\n",
      "Epoch: 438/1000 Iteration: 3950 Train loss: 0.032891 Train acc: 0.990000\n",
      "Epoch: 438/1000 Iteration: 3950 Validation loss: 0.062963 Validation acc: 0.973889\n",
      "Epoch: 439/1000 Iteration: 3955 Train loss: 0.071879 Train acc: 0.966667\n",
      "Epoch: 439/1000 Iteration: 3960 Train loss: 0.044306 Train acc: 0.980000\n",
      "Epoch: 439/1000 Iteration: 3960 Validation loss: 0.063166 Validation acc: 0.975556\n",
      "Epoch: 440/1000 Iteration: 3965 Train loss: 0.049374 Train acc: 0.980000\n",
      "Epoch: 441/1000 Iteration: 3970 Train loss: 0.045806 Train acc: 0.976667\n",
      "Epoch: 441/1000 Iteration: 3970 Validation loss: 0.063148 Validation acc: 0.974444\n",
      "Epoch: 441/1000 Iteration: 3975 Train loss: 0.041830 Train acc: 0.983333\n",
      "Epoch: 442/1000 Iteration: 3980 Train loss: 0.039411 Train acc: 0.976667\n",
      "Epoch: 442/1000 Iteration: 3980 Validation loss: 0.062324 Validation acc: 0.974444\n",
      "Epoch: 442/1000 Iteration: 3985 Train loss: 0.052328 Train acc: 0.978333\n",
      "Epoch: 443/1000 Iteration: 3990 Train loss: 0.064092 Train acc: 0.971667\n",
      "Epoch: 443/1000 Iteration: 3990 Validation loss: 0.062321 Validation acc: 0.974444\n",
      "Epoch: 443/1000 Iteration: 3995 Train loss: 0.036222 Train acc: 0.990000\n",
      "Epoch: 444/1000 Iteration: 4000 Train loss: 0.072055 Train acc: 0.958333\n",
      "Epoch: 444/1000 Iteration: 4000 Validation loss: 0.062942 Validation acc: 0.973889\n",
      "Epoch: 444/1000 Iteration: 4005 Train loss: 0.045460 Train acc: 0.978333\n",
      "Epoch: 445/1000 Iteration: 4010 Train loss: 0.050121 Train acc: 0.976667\n",
      "Epoch: 445/1000 Iteration: 4010 Validation loss: 0.062923 Validation acc: 0.975000\n",
      "Epoch: 446/1000 Iteration: 4015 Train loss: 0.043538 Train acc: 0.985000\n",
      "Epoch: 446/1000 Iteration: 4020 Train loss: 0.037734 Train acc: 0.985000\n",
      "Epoch: 446/1000 Iteration: 4020 Validation loss: 0.061835 Validation acc: 0.975556\n",
      "Epoch: 447/1000 Iteration: 4025 Train loss: 0.039495 Train acc: 0.978333\n",
      "Epoch: 447/1000 Iteration: 4030 Train loss: 0.047604 Train acc: 0.980000\n",
      "Epoch: 447/1000 Iteration: 4030 Validation loss: 0.062236 Validation acc: 0.974444\n",
      "Epoch: 448/1000 Iteration: 4035 Train loss: 0.060037 Train acc: 0.976667\n",
      "Epoch: 448/1000 Iteration: 4040 Train loss: 0.036261 Train acc: 0.988333\n",
      "Epoch: 448/1000 Iteration: 4040 Validation loss: 0.062451 Validation acc: 0.976111\n",
      "Epoch: 449/1000 Iteration: 4045 Train loss: 0.070533 Train acc: 0.965000\n",
      "Epoch: 449/1000 Iteration: 4050 Train loss: 0.039985 Train acc: 0.978333\n",
      "Epoch: 449/1000 Iteration: 4050 Validation loss: 0.062076 Validation acc: 0.976667\n",
      "Epoch: 450/1000 Iteration: 4055 Train loss: 0.047608 Train acc: 0.980000\n",
      "Epoch: 451/1000 Iteration: 4060 Train loss: 0.042936 Train acc: 0.981667\n",
      "Epoch: 451/1000 Iteration: 4060 Validation loss: 0.061942 Validation acc: 0.976667\n",
      "Epoch: 451/1000 Iteration: 4065 Train loss: 0.041726 Train acc: 0.988333\n",
      "Epoch: 452/1000 Iteration: 4070 Train loss: 0.038694 Train acc: 0.980000\n",
      "Epoch: 452/1000 Iteration: 4070 Validation loss: 0.062030 Validation acc: 0.976667\n",
      "Epoch: 452/1000 Iteration: 4075 Train loss: 0.048259 Train acc: 0.978333\n",
      "Epoch: 453/1000 Iteration: 4080 Train loss: 0.058486 Train acc: 0.975000\n",
      "Epoch: 453/1000 Iteration: 4080 Validation loss: 0.061921 Validation acc: 0.976111\n",
      "Epoch: 453/1000 Iteration: 4085 Train loss: 0.034811 Train acc: 0.986667\n",
      "Epoch: 454/1000 Iteration: 4090 Train loss: 0.066819 Train acc: 0.973333\n",
      "Epoch: 454/1000 Iteration: 4090 Validation loss: 0.061785 Validation acc: 0.976111\n",
      "Epoch: 454/1000 Iteration: 4095 Train loss: 0.040953 Train acc: 0.981667\n",
      "Epoch: 455/1000 Iteration: 4100 Train loss: 0.051068 Train acc: 0.980000\n",
      "Epoch: 455/1000 Iteration: 4100 Validation loss: 0.061636 Validation acc: 0.976667\n",
      "Epoch: 456/1000 Iteration: 4105 Train loss: 0.041226 Train acc: 0.981667\n",
      "Epoch: 456/1000 Iteration: 4110 Train loss: 0.038955 Train acc: 0.985000\n",
      "Epoch: 456/1000 Iteration: 4110 Validation loss: 0.061605 Validation acc: 0.977778\n",
      "Epoch: 457/1000 Iteration: 4115 Train loss: 0.034184 Train acc: 0.981667\n",
      "Epoch: 457/1000 Iteration: 4120 Train loss: 0.044715 Train acc: 0.986667\n",
      "Epoch: 457/1000 Iteration: 4120 Validation loss: 0.062530 Validation acc: 0.975000\n",
      "Epoch: 458/1000 Iteration: 4125 Train loss: 0.065540 Train acc: 0.966667\n",
      "Epoch: 458/1000 Iteration: 4130 Train loss: 0.033243 Train acc: 0.986667\n",
      "Epoch: 458/1000 Iteration: 4130 Validation loss: 0.061283 Validation acc: 0.976667\n",
      "Epoch: 459/1000 Iteration: 4135 Train loss: 0.068910 Train acc: 0.968333\n",
      "Epoch: 459/1000 Iteration: 4140 Train loss: 0.042158 Train acc: 0.980000\n",
      "Epoch: 459/1000 Iteration: 4140 Validation loss: 0.061406 Validation acc: 0.976667\n",
      "Epoch: 460/1000 Iteration: 4145 Train loss: 0.051679 Train acc: 0.971667\n",
      "Epoch: 461/1000 Iteration: 4150 Train loss: 0.045069 Train acc: 0.981667\n",
      "Epoch: 461/1000 Iteration: 4150 Validation loss: 0.061137 Validation acc: 0.976667\n",
      "Epoch: 461/1000 Iteration: 4155 Train loss: 0.038164 Train acc: 0.986667\n",
      "Epoch: 462/1000 Iteration: 4160 Train loss: 0.033480 Train acc: 0.986667\n",
      "Epoch: 462/1000 Iteration: 4160 Validation loss: 0.060964 Validation acc: 0.977778\n",
      "Epoch: 462/1000 Iteration: 4165 Train loss: 0.045259 Train acc: 0.985000\n",
      "Epoch: 463/1000 Iteration: 4170 Train loss: 0.062142 Train acc: 0.970000\n",
      "Epoch: 463/1000 Iteration: 4170 Validation loss: 0.061106 Validation acc: 0.976667\n",
      "Epoch: 463/1000 Iteration: 4175 Train loss: 0.036403 Train acc: 0.985000\n",
      "Epoch: 464/1000 Iteration: 4180 Train loss: 0.069246 Train acc: 0.966667\n",
      "Epoch: 464/1000 Iteration: 4180 Validation loss: 0.060752 Validation acc: 0.977222\n",
      "Epoch: 464/1000 Iteration: 4185 Train loss: 0.042031 Train acc: 0.991667\n",
      "Epoch: 465/1000 Iteration: 4190 Train loss: 0.047505 Train acc: 0.981667\n",
      "Epoch: 465/1000 Iteration: 4190 Validation loss: 0.060646 Validation acc: 0.975556\n",
      "Epoch: 466/1000 Iteration: 4195 Train loss: 0.036852 Train acc: 0.988333\n",
      "Epoch: 466/1000 Iteration: 4200 Train loss: 0.035216 Train acc: 0.991667\n",
      "Epoch: 466/1000 Iteration: 4200 Validation loss: 0.060666 Validation acc: 0.978333\n",
      "Epoch: 467/1000 Iteration: 4205 Train loss: 0.033423 Train acc: 0.986667\n",
      "Epoch: 467/1000 Iteration: 4210 Train loss: 0.043629 Train acc: 0.980000\n",
      "Epoch: 467/1000 Iteration: 4210 Validation loss: 0.060639 Validation acc: 0.977778\n",
      "Epoch: 468/1000 Iteration: 4215 Train loss: 0.058242 Train acc: 0.973333\n",
      "Epoch: 468/1000 Iteration: 4220 Train loss: 0.034618 Train acc: 0.988333\n",
      "Epoch: 468/1000 Iteration: 4220 Validation loss: 0.061031 Validation acc: 0.976667\n",
      "Epoch: 469/1000 Iteration: 4225 Train loss: 0.064625 Train acc: 0.973333\n",
      "Epoch: 469/1000 Iteration: 4230 Train loss: 0.045911 Train acc: 0.980000\n",
      "Epoch: 469/1000 Iteration: 4230 Validation loss: 0.060821 Validation acc: 0.977222\n",
      "Epoch: 470/1000 Iteration: 4235 Train loss: 0.044779 Train acc: 0.986667\n",
      "Epoch: 471/1000 Iteration: 4240 Train loss: 0.040676 Train acc: 0.983333\n",
      "Epoch: 471/1000 Iteration: 4240 Validation loss: 0.060975 Validation acc: 0.977222\n",
      "Epoch: 471/1000 Iteration: 4245 Train loss: 0.039853 Train acc: 0.985000\n",
      "Epoch: 472/1000 Iteration: 4250 Train loss: 0.033079 Train acc: 0.985000\n",
      "Epoch: 472/1000 Iteration: 4250 Validation loss: 0.060136 Validation acc: 0.976111\n",
      "Epoch: 472/1000 Iteration: 4255 Train loss: 0.041793 Train acc: 0.980000\n",
      "Epoch: 473/1000 Iteration: 4260 Train loss: 0.056029 Train acc: 0.973333\n",
      "Epoch: 473/1000 Iteration: 4260 Validation loss: 0.059762 Validation acc: 0.977778\n",
      "Epoch: 473/1000 Iteration: 4265 Train loss: 0.033921 Train acc: 0.986667\n",
      "Epoch: 474/1000 Iteration: 4270 Train loss: 0.063375 Train acc: 0.970000\n",
      "Epoch: 474/1000 Iteration: 4270 Validation loss: 0.060107 Validation acc: 0.976111\n",
      "Epoch: 474/1000 Iteration: 4275 Train loss: 0.041147 Train acc: 0.985000\n",
      "Epoch: 475/1000 Iteration: 4280 Train loss: 0.047579 Train acc: 0.988333\n",
      "Epoch: 475/1000 Iteration: 4280 Validation loss: 0.060573 Validation acc: 0.976111\n",
      "Epoch: 476/1000 Iteration: 4285 Train loss: 0.044326 Train acc: 0.983333\n",
      "Epoch: 476/1000 Iteration: 4290 Train loss: 0.038360 Train acc: 0.981667\n",
      "Epoch: 476/1000 Iteration: 4290 Validation loss: 0.059890 Validation acc: 0.975000\n",
      "Epoch: 477/1000 Iteration: 4295 Train loss: 0.032148 Train acc: 0.986667\n",
      "Epoch: 477/1000 Iteration: 4300 Train loss: 0.044077 Train acc: 0.980000\n",
      "Epoch: 477/1000 Iteration: 4300 Validation loss: 0.059996 Validation acc: 0.976667\n",
      "Epoch: 478/1000 Iteration: 4305 Train loss: 0.058984 Train acc: 0.975000\n",
      "Epoch: 478/1000 Iteration: 4310 Train loss: 0.031784 Train acc: 0.990000\n",
      "Epoch: 478/1000 Iteration: 4310 Validation loss: 0.060219 Validation acc: 0.977222\n",
      "Epoch: 479/1000 Iteration: 4315 Train loss: 0.065626 Train acc: 0.968333\n",
      "Epoch: 479/1000 Iteration: 4320 Train loss: 0.037937 Train acc: 0.985000\n",
      "Epoch: 479/1000 Iteration: 4320 Validation loss: 0.060012 Validation acc: 0.978889\n",
      "Epoch: 480/1000 Iteration: 4325 Train loss: 0.049106 Train acc: 0.981667\n",
      "Epoch: 481/1000 Iteration: 4330 Train loss: 0.042186 Train acc: 0.983333\n",
      "Epoch: 481/1000 Iteration: 4330 Validation loss: 0.059899 Validation acc: 0.977222\n",
      "Epoch: 481/1000 Iteration: 4335 Train loss: 0.036026 Train acc: 0.983333\n",
      "Epoch: 482/1000 Iteration: 4340 Train loss: 0.031968 Train acc: 0.986667\n",
      "Epoch: 482/1000 Iteration: 4340 Validation loss: 0.059334 Validation acc: 0.975556\n",
      "Epoch: 482/1000 Iteration: 4345 Train loss: 0.042086 Train acc: 0.986667\n",
      "Epoch: 483/1000 Iteration: 4350 Train loss: 0.061074 Train acc: 0.968333\n",
      "Epoch: 483/1000 Iteration: 4350 Validation loss: 0.059109 Validation acc: 0.978333\n",
      "Epoch: 483/1000 Iteration: 4355 Train loss: 0.031588 Train acc: 0.993333\n",
      "Epoch: 484/1000 Iteration: 4360 Train loss: 0.059701 Train acc: 0.975000\n",
      "Epoch: 484/1000 Iteration: 4360 Validation loss: 0.059362 Validation acc: 0.976667\n",
      "Epoch: 484/1000 Iteration: 4365 Train loss: 0.038784 Train acc: 0.983333\n",
      "Epoch: 485/1000 Iteration: 4370 Train loss: 0.050414 Train acc: 0.976667\n",
      "Epoch: 485/1000 Iteration: 4370 Validation loss: 0.059259 Validation acc: 0.976111\n",
      "Epoch: 486/1000 Iteration: 4375 Train loss: 0.035838 Train acc: 0.988333\n",
      "Epoch: 486/1000 Iteration: 4380 Train loss: 0.034350 Train acc: 0.988333\n",
      "Epoch: 486/1000 Iteration: 4380 Validation loss: 0.058872 Validation acc: 0.977778\n",
      "Epoch: 487/1000 Iteration: 4385 Train loss: 0.033299 Train acc: 0.985000\n",
      "Epoch: 487/1000 Iteration: 4390 Train loss: 0.044897 Train acc: 0.981667\n",
      "Epoch: 487/1000 Iteration: 4390 Validation loss: 0.059531 Validation acc: 0.976667\n",
      "Epoch: 488/1000 Iteration: 4395 Train loss: 0.055535 Train acc: 0.973333\n",
      "Epoch: 488/1000 Iteration: 4400 Train loss: 0.032552 Train acc: 0.985000\n",
      "Epoch: 488/1000 Iteration: 4400 Validation loss: 0.059107 Validation acc: 0.976111\n",
      "Epoch: 489/1000 Iteration: 4405 Train loss: 0.059227 Train acc: 0.973333\n",
      "Epoch: 489/1000 Iteration: 4410 Train loss: 0.038070 Train acc: 0.983333\n",
      "Epoch: 489/1000 Iteration: 4410 Validation loss: 0.058768 Validation acc: 0.978333\n",
      "Epoch: 490/1000 Iteration: 4415 Train loss: 0.046102 Train acc: 0.980000\n",
      "Epoch: 491/1000 Iteration: 4420 Train loss: 0.040918 Train acc: 0.980000\n",
      "Epoch: 491/1000 Iteration: 4420 Validation loss: 0.059330 Validation acc: 0.978889\n",
      "Epoch: 491/1000 Iteration: 4425 Train loss: 0.036885 Train acc: 0.983333\n",
      "Epoch: 492/1000 Iteration: 4430 Train loss: 0.030221 Train acc: 0.986667\n",
      "Epoch: 492/1000 Iteration: 4430 Validation loss: 0.058677 Validation acc: 0.977222\n",
      "Epoch: 492/1000 Iteration: 4435 Train loss: 0.040758 Train acc: 0.985000\n",
      "Epoch: 493/1000 Iteration: 4440 Train loss: 0.051856 Train acc: 0.976667\n",
      "Epoch: 493/1000 Iteration: 4440 Validation loss: 0.058576 Validation acc: 0.977222\n",
      "Epoch: 493/1000 Iteration: 4445 Train loss: 0.030137 Train acc: 0.990000\n",
      "Epoch: 494/1000 Iteration: 4450 Train loss: 0.063327 Train acc: 0.966667\n",
      "Epoch: 494/1000 Iteration: 4450 Validation loss: 0.058610 Validation acc: 0.978333\n",
      "Epoch: 494/1000 Iteration: 4455 Train loss: 0.035573 Train acc: 0.988333\n",
      "Epoch: 495/1000 Iteration: 4460 Train loss: 0.045916 Train acc: 0.981667\n",
      "Epoch: 495/1000 Iteration: 4460 Validation loss: 0.058408 Validation acc: 0.977778\n",
      "Epoch: 496/1000 Iteration: 4465 Train loss: 0.038650 Train acc: 0.976667\n",
      "Epoch: 496/1000 Iteration: 4470 Train loss: 0.036937 Train acc: 0.990000\n",
      "Epoch: 496/1000 Iteration: 4470 Validation loss: 0.058773 Validation acc: 0.976111\n",
      "Epoch: 497/1000 Iteration: 4475 Train loss: 0.029803 Train acc: 0.988333\n",
      "Epoch: 497/1000 Iteration: 4480 Train loss: 0.039886 Train acc: 0.981667\n",
      "Epoch: 497/1000 Iteration: 4480 Validation loss: 0.058690 Validation acc: 0.977222\n",
      "Epoch: 498/1000 Iteration: 4485 Train loss: 0.053644 Train acc: 0.971667\n",
      "Epoch: 498/1000 Iteration: 4490 Train loss: 0.028009 Train acc: 0.991667\n",
      "Epoch: 498/1000 Iteration: 4490 Validation loss: 0.058208 Validation acc: 0.978333\n",
      "Epoch: 499/1000 Iteration: 4495 Train loss: 0.064086 Train acc: 0.971667\n",
      "Epoch: 499/1000 Iteration: 4500 Train loss: 0.038335 Train acc: 0.988333\n",
      "Epoch: 499/1000 Iteration: 4500 Validation loss: 0.058268 Validation acc: 0.977778\n",
      "Epoch: 500/1000 Iteration: 4505 Train loss: 0.042267 Train acc: 0.988333\n",
      "Epoch: 501/1000 Iteration: 4510 Train loss: 0.043852 Train acc: 0.978333\n",
      "Epoch: 501/1000 Iteration: 4510 Validation loss: 0.058689 Validation acc: 0.976667\n",
      "Epoch: 501/1000 Iteration: 4515 Train loss: 0.035408 Train acc: 0.988333\n",
      "Epoch: 502/1000 Iteration: 4520 Train loss: 0.029417 Train acc: 0.986667\n",
      "Epoch: 502/1000 Iteration: 4520 Validation loss: 0.058091 Validation acc: 0.977222\n",
      "Epoch: 502/1000 Iteration: 4525 Train loss: 0.037699 Train acc: 0.981667\n",
      "Epoch: 503/1000 Iteration: 4530 Train loss: 0.053992 Train acc: 0.973333\n",
      "Epoch: 503/1000 Iteration: 4530 Validation loss: 0.058169 Validation acc: 0.978333\n",
      "Epoch: 503/1000 Iteration: 4535 Train loss: 0.024237 Train acc: 0.996667\n",
      "Epoch: 504/1000 Iteration: 4540 Train loss: 0.060076 Train acc: 0.975000\n",
      "Epoch: 504/1000 Iteration: 4540 Validation loss: 0.058662 Validation acc: 0.976667\n",
      "Epoch: 504/1000 Iteration: 4545 Train loss: 0.033603 Train acc: 0.991667\n",
      "Epoch: 505/1000 Iteration: 4550 Train loss: 0.045657 Train acc: 0.981667\n",
      "Epoch: 505/1000 Iteration: 4550 Validation loss: 0.058250 Validation acc: 0.976111\n",
      "Epoch: 506/1000 Iteration: 4555 Train loss: 0.036552 Train acc: 0.981667\n",
      "Epoch: 506/1000 Iteration: 4560 Train loss: 0.038872 Train acc: 0.985000\n",
      "Epoch: 506/1000 Iteration: 4560 Validation loss: 0.058417 Validation acc: 0.976667\n",
      "Epoch: 507/1000 Iteration: 4565 Train loss: 0.029170 Train acc: 0.986667\n",
      "Epoch: 507/1000 Iteration: 4570 Train loss: 0.039316 Train acc: 0.985000\n",
      "Epoch: 507/1000 Iteration: 4570 Validation loss: 0.058436 Validation acc: 0.977778\n",
      "Epoch: 508/1000 Iteration: 4575 Train loss: 0.057410 Train acc: 0.968333\n",
      "Epoch: 508/1000 Iteration: 4580 Train loss: 0.030314 Train acc: 0.990000\n",
      "Epoch: 508/1000 Iteration: 4580 Validation loss: 0.057813 Validation acc: 0.978333\n",
      "Epoch: 509/1000 Iteration: 4585 Train loss: 0.062032 Train acc: 0.973333\n",
      "Epoch: 509/1000 Iteration: 4590 Train loss: 0.036634 Train acc: 0.990000\n",
      "Epoch: 509/1000 Iteration: 4590 Validation loss: 0.057739 Validation acc: 0.977222\n",
      "Epoch: 510/1000 Iteration: 4595 Train loss: 0.044712 Train acc: 0.981667\n",
      "Epoch: 511/1000 Iteration: 4600 Train loss: 0.042322 Train acc: 0.980000\n",
      "Epoch: 511/1000 Iteration: 4600 Validation loss: 0.057754 Validation acc: 0.979444\n",
      "Epoch: 511/1000 Iteration: 4605 Train loss: 0.036334 Train acc: 0.986667\n",
      "Epoch: 512/1000 Iteration: 4610 Train loss: 0.029512 Train acc: 0.988333\n",
      "Epoch: 512/1000 Iteration: 4610 Validation loss: 0.057854 Validation acc: 0.976667\n",
      "Epoch: 512/1000 Iteration: 4615 Train loss: 0.041075 Train acc: 0.978333\n",
      "Epoch: 513/1000 Iteration: 4620 Train loss: 0.052513 Train acc: 0.976667\n",
      "Epoch: 513/1000 Iteration: 4620 Validation loss: 0.058151 Validation acc: 0.977778\n",
      "Epoch: 513/1000 Iteration: 4625 Train loss: 0.025943 Train acc: 0.991667\n",
      "Epoch: 514/1000 Iteration: 4630 Train loss: 0.060401 Train acc: 0.970000\n",
      "Epoch: 514/1000 Iteration: 4630 Validation loss: 0.057524 Validation acc: 0.977222\n",
      "Epoch: 514/1000 Iteration: 4635 Train loss: 0.031850 Train acc: 0.986667\n",
      "Epoch: 515/1000 Iteration: 4640 Train loss: 0.049364 Train acc: 0.976667\n",
      "Epoch: 515/1000 Iteration: 4640 Validation loss: 0.057467 Validation acc: 0.976667\n",
      "Epoch: 516/1000 Iteration: 4645 Train loss: 0.038193 Train acc: 0.988333\n",
      "Epoch: 516/1000 Iteration: 4650 Train loss: 0.036895 Train acc: 0.986667\n",
      "Epoch: 516/1000 Iteration: 4650 Validation loss: 0.057494 Validation acc: 0.977222\n",
      "Epoch: 517/1000 Iteration: 4655 Train loss: 0.029689 Train acc: 0.986667\n",
      "Epoch: 517/1000 Iteration: 4660 Train loss: 0.038892 Train acc: 0.981667\n",
      "Epoch: 517/1000 Iteration: 4660 Validation loss: 0.056896 Validation acc: 0.976667\n",
      "Epoch: 518/1000 Iteration: 4665 Train loss: 0.052843 Train acc: 0.971667\n",
      "Epoch: 518/1000 Iteration: 4670 Train loss: 0.025797 Train acc: 0.993333\n",
      "Epoch: 518/1000 Iteration: 4670 Validation loss: 0.056538 Validation acc: 0.979445\n",
      "Epoch: 519/1000 Iteration: 4675 Train loss: 0.057643 Train acc: 0.975000\n",
      "Epoch: 519/1000 Iteration: 4680 Train loss: 0.038076 Train acc: 0.983333\n",
      "Epoch: 519/1000 Iteration: 4680 Validation loss: 0.057259 Validation acc: 0.978333\n",
      "Epoch: 520/1000 Iteration: 4685 Train loss: 0.048163 Train acc: 0.983333\n",
      "Epoch: 521/1000 Iteration: 4690 Train loss: 0.038685 Train acc: 0.978333\n",
      "Epoch: 521/1000 Iteration: 4690 Validation loss: 0.056371 Validation acc: 0.979444\n",
      "Epoch: 521/1000 Iteration: 4695 Train loss: 0.036164 Train acc: 0.990000\n",
      "Epoch: 522/1000 Iteration: 4700 Train loss: 0.030524 Train acc: 0.985000\n",
      "Epoch: 522/1000 Iteration: 4700 Validation loss: 0.056615 Validation acc: 0.978889\n",
      "Epoch: 522/1000 Iteration: 4705 Train loss: 0.032022 Train acc: 0.986667\n",
      "Epoch: 523/1000 Iteration: 4710 Train loss: 0.052198 Train acc: 0.978333\n",
      "Epoch: 523/1000 Iteration: 4710 Validation loss: 0.056891 Validation acc: 0.977778\n",
      "Epoch: 523/1000 Iteration: 4715 Train loss: 0.028809 Train acc: 0.991667\n",
      "Epoch: 524/1000 Iteration: 4720 Train loss: 0.055522 Train acc: 0.978333\n",
      "Epoch: 524/1000 Iteration: 4720 Validation loss: 0.056065 Validation acc: 0.977778\n",
      "Epoch: 524/1000 Iteration: 4725 Train loss: 0.035875 Train acc: 0.990000\n",
      "Epoch: 525/1000 Iteration: 4730 Train loss: 0.042159 Train acc: 0.981667\n",
      "Epoch: 525/1000 Iteration: 4730 Validation loss: 0.056407 Validation acc: 0.977778\n",
      "Epoch: 526/1000 Iteration: 4735 Train loss: 0.037281 Train acc: 0.980000\n",
      "Epoch: 526/1000 Iteration: 4740 Train loss: 0.034313 Train acc: 0.990000\n",
      "Epoch: 526/1000 Iteration: 4740 Validation loss: 0.056391 Validation acc: 0.978889\n",
      "Epoch: 527/1000 Iteration: 4745 Train loss: 0.026195 Train acc: 0.988333\n",
      "Epoch: 527/1000 Iteration: 4750 Train loss: 0.032871 Train acc: 0.993333\n",
      "Epoch: 527/1000 Iteration: 4750 Validation loss: 0.056157 Validation acc: 0.979444\n",
      "Epoch: 528/1000 Iteration: 4755 Train loss: 0.051735 Train acc: 0.971667\n",
      "Epoch: 528/1000 Iteration: 4760 Train loss: 0.021980 Train acc: 0.995000\n",
      "Epoch: 528/1000 Iteration: 4760 Validation loss: 0.056506 Validation acc: 0.977778\n",
      "Epoch: 529/1000 Iteration: 4765 Train loss: 0.055921 Train acc: 0.980000\n",
      "Epoch: 529/1000 Iteration: 4770 Train loss: 0.036504 Train acc: 0.983333\n",
      "Epoch: 529/1000 Iteration: 4770 Validation loss: 0.056133 Validation acc: 0.979444\n",
      "Epoch: 530/1000 Iteration: 4775 Train loss: 0.048328 Train acc: 0.980000\n",
      "Epoch: 531/1000 Iteration: 4780 Train loss: 0.038541 Train acc: 0.978333\n",
      "Epoch: 531/1000 Iteration: 4780 Validation loss: 0.055661 Validation acc: 0.980000\n",
      "Epoch: 531/1000 Iteration: 4785 Train loss: 0.034603 Train acc: 0.990000\n",
      "Epoch: 532/1000 Iteration: 4790 Train loss: 0.027687 Train acc: 0.986667\n",
      "Epoch: 532/1000 Iteration: 4790 Validation loss: 0.055859 Validation acc: 0.978333\n",
      "Epoch: 532/1000 Iteration: 4795 Train loss: 0.039239 Train acc: 0.983333\n",
      "Epoch: 533/1000 Iteration: 4800 Train loss: 0.049693 Train acc: 0.971667\n",
      "Epoch: 533/1000 Iteration: 4800 Validation loss: 0.055822 Validation acc: 0.980000\n",
      "Epoch: 533/1000 Iteration: 4805 Train loss: 0.024106 Train acc: 0.995000\n",
      "Epoch: 534/1000 Iteration: 4810 Train loss: 0.055065 Train acc: 0.978333\n",
      "Epoch: 534/1000 Iteration: 4810 Validation loss: 0.056034 Validation acc: 0.978333\n",
      "Epoch: 534/1000 Iteration: 4815 Train loss: 0.033446 Train acc: 0.986667\n",
      "Epoch: 535/1000 Iteration: 4820 Train loss: 0.040919 Train acc: 0.981667\n",
      "Epoch: 535/1000 Iteration: 4820 Validation loss: 0.055580 Validation acc: 0.980000\n",
      "Epoch: 536/1000 Iteration: 4825 Train loss: 0.035591 Train acc: 0.988333\n",
      "Epoch: 536/1000 Iteration: 4830 Train loss: 0.032081 Train acc: 0.990000\n",
      "Epoch: 536/1000 Iteration: 4830 Validation loss: 0.055358 Validation acc: 0.979445\n",
      "Epoch: 537/1000 Iteration: 4835 Train loss: 0.022830 Train acc: 0.993333\n",
      "Epoch: 537/1000 Iteration: 4840 Train loss: 0.036460 Train acc: 0.986667\n",
      "Epoch: 537/1000 Iteration: 4840 Validation loss: 0.055207 Validation acc: 0.980000\n",
      "Epoch: 538/1000 Iteration: 4845 Train loss: 0.050466 Train acc: 0.978333\n",
      "Epoch: 538/1000 Iteration: 4850 Train loss: 0.026916 Train acc: 0.988333\n",
      "Epoch: 538/1000 Iteration: 4850 Validation loss: 0.055099 Validation acc: 0.980556\n",
      "Epoch: 539/1000 Iteration: 4855 Train loss: 0.058134 Train acc: 0.975000\n",
      "Epoch: 539/1000 Iteration: 4860 Train loss: 0.032911 Train acc: 0.985000\n",
      "Epoch: 539/1000 Iteration: 4860 Validation loss: 0.055103 Validation acc: 0.981111\n",
      "Epoch: 540/1000 Iteration: 4865 Train loss: 0.038563 Train acc: 0.986667\n",
      "Epoch: 541/1000 Iteration: 4870 Train loss: 0.039154 Train acc: 0.981667\n",
      "Epoch: 541/1000 Iteration: 4870 Validation loss: 0.055028 Validation acc: 0.980000\n",
      "Epoch: 541/1000 Iteration: 4875 Train loss: 0.033693 Train acc: 0.990000\n",
      "Epoch: 542/1000 Iteration: 4880 Train loss: 0.028186 Train acc: 0.991667\n",
      "Epoch: 542/1000 Iteration: 4880 Validation loss: 0.054932 Validation acc: 0.980000\n",
      "Epoch: 542/1000 Iteration: 4885 Train loss: 0.030651 Train acc: 0.990000\n",
      "Epoch: 543/1000 Iteration: 4890 Train loss: 0.050321 Train acc: 0.976667\n",
      "Epoch: 543/1000 Iteration: 4890 Validation loss: 0.055058 Validation acc: 0.979444\n",
      "Epoch: 543/1000 Iteration: 4895 Train loss: 0.023316 Train acc: 0.993333\n",
      "Epoch: 544/1000 Iteration: 4900 Train loss: 0.055578 Train acc: 0.976667\n",
      "Epoch: 544/1000 Iteration: 4900 Validation loss: 0.054243 Validation acc: 0.980000\n",
      "Epoch: 544/1000 Iteration: 4905 Train loss: 0.034549 Train acc: 0.990000\n",
      "Epoch: 545/1000 Iteration: 4910 Train loss: 0.045650 Train acc: 0.981667\n",
      "Epoch: 545/1000 Iteration: 4910 Validation loss: 0.054097 Validation acc: 0.981111\n",
      "Epoch: 546/1000 Iteration: 4915 Train loss: 0.035778 Train acc: 0.990000\n",
      "Epoch: 546/1000 Iteration: 4920 Train loss: 0.032923 Train acc: 0.990000\n",
      "Epoch: 546/1000 Iteration: 4920 Validation loss: 0.054585 Validation acc: 0.979445\n",
      "Epoch: 547/1000 Iteration: 4925 Train loss: 0.025591 Train acc: 0.986667\n",
      "Epoch: 547/1000 Iteration: 4930 Train loss: 0.028122 Train acc: 0.993333\n",
      "Epoch: 547/1000 Iteration: 4930 Validation loss: 0.054573 Validation acc: 0.978889\n",
      "Epoch: 548/1000 Iteration: 4935 Train loss: 0.048764 Train acc: 0.981667\n",
      "Epoch: 548/1000 Iteration: 4940 Train loss: 0.022501 Train acc: 0.995000\n",
      "Epoch: 548/1000 Iteration: 4940 Validation loss: 0.054376 Validation acc: 0.980556\n",
      "Epoch: 549/1000 Iteration: 4945 Train loss: 0.056563 Train acc: 0.978333\n",
      "Epoch: 549/1000 Iteration: 4950 Train loss: 0.035043 Train acc: 0.985000\n",
      "Epoch: 549/1000 Iteration: 4950 Validation loss: 0.054607 Validation acc: 0.981111\n",
      "Epoch: 550/1000 Iteration: 4955 Train loss: 0.042047 Train acc: 0.981667\n",
      "Epoch: 551/1000 Iteration: 4960 Train loss: 0.036389 Train acc: 0.983333\n",
      "Epoch: 551/1000 Iteration: 4960 Validation loss: 0.054154 Validation acc: 0.980000\n",
      "Epoch: 551/1000 Iteration: 4965 Train loss: 0.032080 Train acc: 0.988333\n",
      "Epoch: 552/1000 Iteration: 4970 Train loss: 0.021110 Train acc: 0.991667\n",
      "Epoch: 552/1000 Iteration: 4970 Validation loss: 0.054274 Validation acc: 0.979445\n",
      "Epoch: 552/1000 Iteration: 4975 Train loss: 0.033055 Train acc: 0.986667\n",
      "Epoch: 553/1000 Iteration: 4980 Train loss: 0.048383 Train acc: 0.980000\n",
      "Epoch: 553/1000 Iteration: 4980 Validation loss: 0.054504 Validation acc: 0.979445\n",
      "Epoch: 553/1000 Iteration: 4985 Train loss: 0.025602 Train acc: 0.988333\n",
      "Epoch: 554/1000 Iteration: 4990 Train loss: 0.055160 Train acc: 0.973333\n",
      "Epoch: 554/1000 Iteration: 4990 Validation loss: 0.054382 Validation acc: 0.981111\n",
      "Epoch: 554/1000 Iteration: 4995 Train loss: 0.032123 Train acc: 0.985000\n",
      "Epoch: 555/1000 Iteration: 5000 Train loss: 0.043415 Train acc: 0.976667\n",
      "Epoch: 555/1000 Iteration: 5000 Validation loss: 0.053681 Validation acc: 0.980000\n",
      "Epoch: 556/1000 Iteration: 5005 Train loss: 0.033448 Train acc: 0.985000\n",
      "Epoch: 556/1000 Iteration: 5010 Train loss: 0.032934 Train acc: 0.986667\n",
      "Epoch: 556/1000 Iteration: 5010 Validation loss: 0.053459 Validation acc: 0.980000\n",
      "Epoch: 557/1000 Iteration: 5015 Train loss: 0.020832 Train acc: 0.988333\n",
      "Epoch: 557/1000 Iteration: 5020 Train loss: 0.035699 Train acc: 0.981667\n",
      "Epoch: 557/1000 Iteration: 5020 Validation loss: 0.053354 Validation acc: 0.980556\n",
      "Epoch: 558/1000 Iteration: 5025 Train loss: 0.043528 Train acc: 0.981667\n",
      "Epoch: 558/1000 Iteration: 5030 Train loss: 0.025572 Train acc: 0.991667\n",
      "Epoch: 558/1000 Iteration: 5030 Validation loss: 0.053241 Validation acc: 0.980556\n",
      "Epoch: 559/1000 Iteration: 5035 Train loss: 0.054618 Train acc: 0.976667\n",
      "Epoch: 559/1000 Iteration: 5040 Train loss: 0.031554 Train acc: 0.988333\n",
      "Epoch: 559/1000 Iteration: 5040 Validation loss: 0.054153 Validation acc: 0.980000\n",
      "Epoch: 560/1000 Iteration: 5045 Train loss: 0.043960 Train acc: 0.980000\n",
      "Epoch: 561/1000 Iteration: 5050 Train loss: 0.034418 Train acc: 0.986667\n",
      "Epoch: 561/1000 Iteration: 5050 Validation loss: 0.053586 Validation acc: 0.981111\n",
      "Epoch: 561/1000 Iteration: 5055 Train loss: 0.031903 Train acc: 0.991667\n",
      "Epoch: 562/1000 Iteration: 5060 Train loss: 0.022652 Train acc: 0.988333\n",
      "Epoch: 562/1000 Iteration: 5060 Validation loss: 0.052916 Validation acc: 0.981667\n",
      "Epoch: 562/1000 Iteration: 5065 Train loss: 0.033170 Train acc: 0.986667\n",
      "Epoch: 563/1000 Iteration: 5070 Train loss: 0.045121 Train acc: 0.975000\n",
      "Epoch: 563/1000 Iteration: 5070 Validation loss: 0.052611 Validation acc: 0.981111\n",
      "Epoch: 563/1000 Iteration: 5075 Train loss: 0.023904 Train acc: 0.993333\n",
      "Epoch: 564/1000 Iteration: 5080 Train loss: 0.049151 Train acc: 0.980000\n",
      "Epoch: 564/1000 Iteration: 5080 Validation loss: 0.052809 Validation acc: 0.980556\n",
      "Epoch: 564/1000 Iteration: 5085 Train loss: 0.031258 Train acc: 0.986667\n",
      "Epoch: 565/1000 Iteration: 5090 Train loss: 0.041421 Train acc: 0.988333\n",
      "Epoch: 565/1000 Iteration: 5090 Validation loss: 0.053256 Validation acc: 0.981111\n",
      "Epoch: 566/1000 Iteration: 5095 Train loss: 0.031563 Train acc: 0.988333\n",
      "Epoch: 566/1000 Iteration: 5100 Train loss: 0.031511 Train acc: 0.986667\n",
      "Epoch: 566/1000 Iteration: 5100 Validation loss: 0.053396 Validation acc: 0.981667\n",
      "Epoch: 567/1000 Iteration: 5105 Train loss: 0.021349 Train acc: 0.993333\n",
      "Epoch: 567/1000 Iteration: 5110 Train loss: 0.030423 Train acc: 0.986667\n",
      "Epoch: 567/1000 Iteration: 5110 Validation loss: 0.052554 Validation acc: 0.979444\n",
      "Epoch: 568/1000 Iteration: 5115 Train loss: 0.045371 Train acc: 0.976667\n",
      "Epoch: 568/1000 Iteration: 5120 Train loss: 0.025639 Train acc: 0.991667\n",
      "Epoch: 568/1000 Iteration: 5120 Validation loss: 0.052222 Validation acc: 0.981667\n",
      "Epoch: 569/1000 Iteration: 5125 Train loss: 0.048625 Train acc: 0.980000\n",
      "Epoch: 569/1000 Iteration: 5130 Train loss: 0.029907 Train acc: 0.991667\n",
      "Epoch: 569/1000 Iteration: 5130 Validation loss: 0.052335 Validation acc: 0.980000\n",
      "Epoch: 570/1000 Iteration: 5135 Train loss: 0.038023 Train acc: 0.986667\n",
      "Epoch: 571/1000 Iteration: 5140 Train loss: 0.032490 Train acc: 0.990000\n",
      "Epoch: 571/1000 Iteration: 5140 Validation loss: 0.052325 Validation acc: 0.980556\n",
      "Epoch: 571/1000 Iteration: 5145 Train loss: 0.026784 Train acc: 0.990000\n",
      "Epoch: 572/1000 Iteration: 5150 Train loss: 0.024825 Train acc: 0.990000\n",
      "Epoch: 572/1000 Iteration: 5150 Validation loss: 0.052332 Validation acc: 0.981667\n",
      "Epoch: 572/1000 Iteration: 5155 Train loss: 0.032824 Train acc: 0.981667\n",
      "Epoch: 573/1000 Iteration: 5160 Train loss: 0.045873 Train acc: 0.980000\n",
      "Epoch: 573/1000 Iteration: 5160 Validation loss: 0.052591 Validation acc: 0.981111\n",
      "Epoch: 573/1000 Iteration: 5165 Train loss: 0.021024 Train acc: 0.991667\n",
      "Epoch: 574/1000 Iteration: 5170 Train loss: 0.050172 Train acc: 0.976667\n",
      "Epoch: 574/1000 Iteration: 5170 Validation loss: 0.052479 Validation acc: 0.981111\n",
      "Epoch: 574/1000 Iteration: 5175 Train loss: 0.029010 Train acc: 0.991667\n",
      "Epoch: 575/1000 Iteration: 5180 Train loss: 0.041429 Train acc: 0.981667\n",
      "Epoch: 575/1000 Iteration: 5180 Validation loss: 0.052051 Validation acc: 0.980556\n",
      "Epoch: 576/1000 Iteration: 5185 Train loss: 0.031567 Train acc: 0.985000\n",
      "Epoch: 576/1000 Iteration: 5190 Train loss: 0.029439 Train acc: 0.993333\n",
      "Epoch: 576/1000 Iteration: 5190 Validation loss: 0.052379 Validation acc: 0.981111\n",
      "Epoch: 577/1000 Iteration: 5195 Train loss: 0.020508 Train acc: 0.988333\n",
      "Epoch: 577/1000 Iteration: 5200 Train loss: 0.029826 Train acc: 0.985000\n",
      "Epoch: 577/1000 Iteration: 5200 Validation loss: 0.051470 Validation acc: 0.982778\n",
      "Epoch: 578/1000 Iteration: 5205 Train loss: 0.045233 Train acc: 0.980000\n",
      "Epoch: 578/1000 Iteration: 5210 Train loss: 0.020864 Train acc: 0.995000\n",
      "Epoch: 578/1000 Iteration: 5210 Validation loss: 0.051503 Validation acc: 0.980000\n",
      "Epoch: 579/1000 Iteration: 5215 Train loss: 0.049409 Train acc: 0.978333\n",
      "Epoch: 579/1000 Iteration: 5220 Train loss: 0.031463 Train acc: 0.986667\n",
      "Epoch: 579/1000 Iteration: 5220 Validation loss: 0.052255 Validation acc: 0.982222\n",
      "Epoch: 580/1000 Iteration: 5225 Train loss: 0.038979 Train acc: 0.980000\n",
      "Epoch: 581/1000 Iteration: 5230 Train loss: 0.030919 Train acc: 0.988333\n",
      "Epoch: 581/1000 Iteration: 5230 Validation loss: 0.052148 Validation acc: 0.980556\n",
      "Epoch: 581/1000 Iteration: 5235 Train loss: 0.031794 Train acc: 0.990000\n",
      "Epoch: 582/1000 Iteration: 5240 Train loss: 0.021695 Train acc: 0.990000\n",
      "Epoch: 582/1000 Iteration: 5240 Validation loss: 0.052063 Validation acc: 0.981667\n",
      "Epoch: 582/1000 Iteration: 5245 Train loss: 0.035307 Train acc: 0.985000\n",
      "Epoch: 583/1000 Iteration: 5250 Train loss: 0.045192 Train acc: 0.976667\n",
      "Epoch: 583/1000 Iteration: 5250 Validation loss: 0.051440 Validation acc: 0.982778\n",
      "Epoch: 583/1000 Iteration: 5255 Train loss: 0.021773 Train acc: 0.993333\n",
      "Epoch: 584/1000 Iteration: 5260 Train loss: 0.053508 Train acc: 0.978333\n",
      "Epoch: 584/1000 Iteration: 5260 Validation loss: 0.051067 Validation acc: 0.980000\n",
      "Epoch: 584/1000 Iteration: 5265 Train loss: 0.030086 Train acc: 0.990000\n",
      "Epoch: 585/1000 Iteration: 5270 Train loss: 0.039538 Train acc: 0.978333\n",
      "Epoch: 585/1000 Iteration: 5270 Validation loss: 0.050839 Validation acc: 0.982778\n",
      "Epoch: 586/1000 Iteration: 5275 Train loss: 0.034849 Train acc: 0.981667\n",
      "Epoch: 586/1000 Iteration: 5280 Train loss: 0.027463 Train acc: 0.991667\n",
      "Epoch: 586/1000 Iteration: 5280 Validation loss: 0.051599 Validation acc: 0.979445\n",
      "Epoch: 587/1000 Iteration: 5285 Train loss: 0.022556 Train acc: 0.990000\n",
      "Epoch: 587/1000 Iteration: 5290 Train loss: 0.034808 Train acc: 0.991667\n",
      "Epoch: 587/1000 Iteration: 5290 Validation loss: 0.050660 Validation acc: 0.983333\n",
      "Epoch: 588/1000 Iteration: 5295 Train loss: 0.046539 Train acc: 0.978333\n",
      "Epoch: 588/1000 Iteration: 5300 Train loss: 0.022208 Train acc: 0.993333\n",
      "Epoch: 588/1000 Iteration: 5300 Validation loss: 0.050433 Validation acc: 0.981111\n",
      "Epoch: 589/1000 Iteration: 5305 Train loss: 0.047019 Train acc: 0.981667\n",
      "Epoch: 589/1000 Iteration: 5310 Train loss: 0.028509 Train acc: 0.990000\n",
      "Epoch: 589/1000 Iteration: 5310 Validation loss: 0.050602 Validation acc: 0.981667\n",
      "Epoch: 590/1000 Iteration: 5315 Train loss: 0.037236 Train acc: 0.985000\n",
      "Epoch: 591/1000 Iteration: 5320 Train loss: 0.031509 Train acc: 0.986667\n",
      "Epoch: 591/1000 Iteration: 5320 Validation loss: 0.051470 Validation acc: 0.981667\n",
      "Epoch: 591/1000 Iteration: 5325 Train loss: 0.032120 Train acc: 0.990000\n",
      "Epoch: 592/1000 Iteration: 5330 Train loss: 0.020436 Train acc: 0.990000\n",
      "Epoch: 592/1000 Iteration: 5330 Validation loss: 0.051270 Validation acc: 0.981111\n",
      "Epoch: 592/1000 Iteration: 5335 Train loss: 0.029188 Train acc: 0.988333\n",
      "Epoch: 593/1000 Iteration: 5340 Train loss: 0.044663 Train acc: 0.978333\n",
      "Epoch: 593/1000 Iteration: 5340 Validation loss: 0.050597 Validation acc: 0.982222\n",
      "Epoch: 593/1000 Iteration: 5345 Train loss: 0.020512 Train acc: 0.993333\n",
      "Epoch: 594/1000 Iteration: 5350 Train loss: 0.047954 Train acc: 0.983333\n",
      "Epoch: 594/1000 Iteration: 5350 Validation loss: 0.051087 Validation acc: 0.980556\n",
      "Epoch: 594/1000 Iteration: 5355 Train loss: 0.029255 Train acc: 0.990000\n",
      "Epoch: 595/1000 Iteration: 5360 Train loss: 0.039964 Train acc: 0.978333\n",
      "Epoch: 595/1000 Iteration: 5360 Validation loss: 0.050130 Validation acc: 0.982778\n",
      "Epoch: 596/1000 Iteration: 5365 Train loss: 0.029837 Train acc: 0.986667\n",
      "Epoch: 596/1000 Iteration: 5370 Train loss: 0.032134 Train acc: 0.990000\n",
      "Epoch: 596/1000 Iteration: 5370 Validation loss: 0.050392 Validation acc: 0.981667\n",
      "Epoch: 597/1000 Iteration: 5375 Train loss: 0.018613 Train acc: 0.991667\n",
      "Epoch: 597/1000 Iteration: 5380 Train loss: 0.028226 Train acc: 0.991667\n",
      "Epoch: 597/1000 Iteration: 5380 Validation loss: 0.051114 Validation acc: 0.981667\n",
      "Epoch: 598/1000 Iteration: 5385 Train loss: 0.040970 Train acc: 0.985000\n",
      "Epoch: 598/1000 Iteration: 5390 Train loss: 0.022285 Train acc: 0.990000\n",
      "Epoch: 598/1000 Iteration: 5390 Validation loss: 0.049989 Validation acc: 0.983333\n",
      "Epoch: 599/1000 Iteration: 5395 Train loss: 0.048232 Train acc: 0.981667\n",
      "Epoch: 599/1000 Iteration: 5400 Train loss: 0.027636 Train acc: 0.986667\n",
      "Epoch: 599/1000 Iteration: 5400 Validation loss: 0.050256 Validation acc: 0.982778\n",
      "Epoch: 600/1000 Iteration: 5405 Train loss: 0.038866 Train acc: 0.983333\n",
      "Epoch: 601/1000 Iteration: 5410 Train loss: 0.031165 Train acc: 0.990000\n",
      "Epoch: 601/1000 Iteration: 5410 Validation loss: 0.050705 Validation acc: 0.981667\n",
      "Epoch: 601/1000 Iteration: 5415 Train loss: 0.027482 Train acc: 0.991667\n",
      "Epoch: 602/1000 Iteration: 5420 Train loss: 0.017610 Train acc: 0.991667\n",
      "Epoch: 602/1000 Iteration: 5420 Validation loss: 0.049899 Validation acc: 0.982222\n",
      "Epoch: 602/1000 Iteration: 5425 Train loss: 0.029662 Train acc: 0.988333\n",
      "Epoch: 603/1000 Iteration: 5430 Train loss: 0.045397 Train acc: 0.975000\n",
      "Epoch: 603/1000 Iteration: 5430 Validation loss: 0.050108 Validation acc: 0.981667\n",
      "Epoch: 603/1000 Iteration: 5435 Train loss: 0.021694 Train acc: 0.991667\n",
      "Epoch: 604/1000 Iteration: 5440 Train loss: 0.045004 Train acc: 0.981667\n",
      "Epoch: 604/1000 Iteration: 5440 Validation loss: 0.050081 Validation acc: 0.981111\n",
      "Epoch: 604/1000 Iteration: 5445 Train loss: 0.028041 Train acc: 0.988333\n",
      "Epoch: 605/1000 Iteration: 5450 Train loss: 0.034732 Train acc: 0.988333\n",
      "Epoch: 605/1000 Iteration: 5450 Validation loss: 0.049954 Validation acc: 0.982222\n",
      "Epoch: 606/1000 Iteration: 5455 Train loss: 0.027838 Train acc: 0.990000\n",
      "Epoch: 606/1000 Iteration: 5460 Train loss: 0.026749 Train acc: 0.990000\n",
      "Epoch: 606/1000 Iteration: 5460 Validation loss: 0.049799 Validation acc: 0.981667\n",
      "Epoch: 607/1000 Iteration: 5465 Train loss: 0.018123 Train acc: 0.996667\n",
      "Epoch: 607/1000 Iteration: 5470 Train loss: 0.029550 Train acc: 0.991667\n",
      "Epoch: 607/1000 Iteration: 5470 Validation loss: 0.049354 Validation acc: 0.981667\n",
      "Epoch: 608/1000 Iteration: 5475 Train loss: 0.040984 Train acc: 0.983333\n",
      "Epoch: 608/1000 Iteration: 5480 Train loss: 0.018616 Train acc: 0.995000\n",
      "Epoch: 608/1000 Iteration: 5480 Validation loss: 0.049500 Validation acc: 0.981111\n",
      "Epoch: 609/1000 Iteration: 5485 Train loss: 0.044122 Train acc: 0.985000\n",
      "Epoch: 609/1000 Iteration: 5490 Train loss: 0.028783 Train acc: 0.986667\n",
      "Epoch: 609/1000 Iteration: 5490 Validation loss: 0.050492 Validation acc: 0.981667\n",
      "Epoch: 610/1000 Iteration: 5495 Train loss: 0.039500 Train acc: 0.983333\n",
      "Epoch: 611/1000 Iteration: 5500 Train loss: 0.028450 Train acc: 0.993333\n",
      "Epoch: 611/1000 Iteration: 5500 Validation loss: 0.049483 Validation acc: 0.981111\n",
      "Epoch: 611/1000 Iteration: 5505 Train loss: 0.023972 Train acc: 0.991667\n",
      "Epoch: 612/1000 Iteration: 5510 Train loss: 0.018608 Train acc: 0.991667\n",
      "Epoch: 612/1000 Iteration: 5510 Validation loss: 0.049457 Validation acc: 0.981667\n",
      "Epoch: 612/1000 Iteration: 5515 Train loss: 0.027223 Train acc: 0.990000\n",
      "Epoch: 613/1000 Iteration: 5520 Train loss: 0.038120 Train acc: 0.983333\n",
      "Epoch: 613/1000 Iteration: 5520 Validation loss: 0.049735 Validation acc: 0.981111\n",
      "Epoch: 613/1000 Iteration: 5525 Train loss: 0.018689 Train acc: 0.993333\n",
      "Epoch: 614/1000 Iteration: 5530 Train loss: 0.042393 Train acc: 0.985000\n",
      "Epoch: 614/1000 Iteration: 5530 Validation loss: 0.049092 Validation acc: 0.981667\n",
      "Epoch: 614/1000 Iteration: 5535 Train loss: 0.028340 Train acc: 0.986667\n",
      "Epoch: 615/1000 Iteration: 5540 Train loss: 0.038612 Train acc: 0.985000\n",
      "Epoch: 615/1000 Iteration: 5540 Validation loss: 0.049355 Validation acc: 0.982222\n",
      "Epoch: 616/1000 Iteration: 5545 Train loss: 0.028520 Train acc: 0.990000\n",
      "Epoch: 616/1000 Iteration: 5550 Train loss: 0.027994 Train acc: 0.991667\n",
      "Epoch: 616/1000 Iteration: 5550 Validation loss: 0.048888 Validation acc: 0.982222\n",
      "Epoch: 617/1000 Iteration: 5555 Train loss: 0.016613 Train acc: 0.996667\n",
      "Epoch: 617/1000 Iteration: 5560 Train loss: 0.028832 Train acc: 0.988333\n",
      "Epoch: 617/1000 Iteration: 5560 Validation loss: 0.049879 Validation acc: 0.980556\n",
      "Epoch: 618/1000 Iteration: 5565 Train loss: 0.044504 Train acc: 0.976667\n",
      "Epoch: 618/1000 Iteration: 5570 Train loss: 0.019442 Train acc: 0.993333\n",
      "Epoch: 618/1000 Iteration: 5570 Validation loss: 0.049488 Validation acc: 0.982222\n",
      "Epoch: 619/1000 Iteration: 5575 Train loss: 0.049822 Train acc: 0.976667\n",
      "Epoch: 619/1000 Iteration: 5580 Train loss: 0.026680 Train acc: 0.991667\n",
      "Epoch: 619/1000 Iteration: 5580 Validation loss: 0.049164 Validation acc: 0.981667\n",
      "Epoch: 620/1000 Iteration: 5585 Train loss: 0.031544 Train acc: 0.988333\n",
      "Epoch: 621/1000 Iteration: 5590 Train loss: 0.028179 Train acc: 0.988333\n",
      "Epoch: 621/1000 Iteration: 5590 Validation loss: 0.048686 Validation acc: 0.982778\n",
      "Epoch: 621/1000 Iteration: 5595 Train loss: 0.026460 Train acc: 0.993333\n",
      "Epoch: 622/1000 Iteration: 5600 Train loss: 0.016471 Train acc: 0.991667\n",
      "Epoch: 622/1000 Iteration: 5600 Validation loss: 0.048865 Validation acc: 0.981667\n",
      "Epoch: 622/1000 Iteration: 5605 Train loss: 0.028114 Train acc: 0.986667\n",
      "Epoch: 623/1000 Iteration: 5610 Train loss: 0.040173 Train acc: 0.980000\n",
      "Epoch: 623/1000 Iteration: 5610 Validation loss: 0.048577 Validation acc: 0.982778\n",
      "Epoch: 623/1000 Iteration: 5615 Train loss: 0.018667 Train acc: 0.991667\n",
      "Epoch: 624/1000 Iteration: 5620 Train loss: 0.045810 Train acc: 0.978333\n",
      "Epoch: 624/1000 Iteration: 5620 Validation loss: 0.048390 Validation acc: 0.985556\n",
      "Epoch: 624/1000 Iteration: 5625 Train loss: 0.026895 Train acc: 0.986667\n",
      "Epoch: 625/1000 Iteration: 5630 Train loss: 0.036697 Train acc: 0.985000\n",
      "Epoch: 625/1000 Iteration: 5630 Validation loss: 0.049015 Validation acc: 0.981667\n",
      "Epoch: 626/1000 Iteration: 5635 Train loss: 0.028565 Train acc: 0.986667\n",
      "Epoch: 626/1000 Iteration: 5640 Train loss: 0.024980 Train acc: 0.991667\n",
      "Epoch: 626/1000 Iteration: 5640 Validation loss: 0.048769 Validation acc: 0.981667\n",
      "Epoch: 627/1000 Iteration: 5645 Train loss: 0.016640 Train acc: 0.993333\n",
      "Epoch: 627/1000 Iteration: 5650 Train loss: 0.027956 Train acc: 0.985000\n",
      "Epoch: 627/1000 Iteration: 5650 Validation loss: 0.048911 Validation acc: 0.982778\n",
      "Epoch: 628/1000 Iteration: 5655 Train loss: 0.039318 Train acc: 0.980000\n",
      "Epoch: 628/1000 Iteration: 5660 Train loss: 0.016681 Train acc: 0.996667\n",
      "Epoch: 628/1000 Iteration: 5660 Validation loss: 0.048675 Validation acc: 0.981667\n",
      "Epoch: 629/1000 Iteration: 5665 Train loss: 0.043985 Train acc: 0.985000\n",
      "Epoch: 629/1000 Iteration: 5670 Train loss: 0.025620 Train acc: 0.991667\n",
      "Epoch: 629/1000 Iteration: 5670 Validation loss: 0.048437 Validation acc: 0.980556\n",
      "Epoch: 630/1000 Iteration: 5675 Train loss: 0.037425 Train acc: 0.983333\n",
      "Epoch: 631/1000 Iteration: 5680 Train loss: 0.032635 Train acc: 0.986667\n",
      "Epoch: 631/1000 Iteration: 5680 Validation loss: 0.047603 Validation acc: 0.983333\n",
      "Epoch: 631/1000 Iteration: 5685 Train loss: 0.025434 Train acc: 0.990000\n",
      "Epoch: 632/1000 Iteration: 5690 Train loss: 0.013125 Train acc: 0.996667\n",
      "Epoch: 632/1000 Iteration: 5690 Validation loss: 0.047647 Validation acc: 0.983333\n",
      "Epoch: 632/1000 Iteration: 5695 Train loss: 0.022895 Train acc: 0.991667\n",
      "Epoch: 633/1000 Iteration: 5700 Train loss: 0.039617 Train acc: 0.980000\n",
      "Epoch: 633/1000 Iteration: 5700 Validation loss: 0.048701 Validation acc: 0.982778\n",
      "Epoch: 633/1000 Iteration: 5705 Train loss: 0.020258 Train acc: 0.995000\n",
      "Epoch: 634/1000 Iteration: 5710 Train loss: 0.041614 Train acc: 0.983333\n",
      "Epoch: 634/1000 Iteration: 5710 Validation loss: 0.047808 Validation acc: 0.983333\n",
      "Epoch: 634/1000 Iteration: 5715 Train loss: 0.024396 Train acc: 0.988333\n",
      "Epoch: 635/1000 Iteration: 5720 Train loss: 0.031361 Train acc: 0.986667\n",
      "Epoch: 635/1000 Iteration: 5720 Validation loss: 0.047676 Validation acc: 0.982778\n",
      "Epoch: 636/1000 Iteration: 5725 Train loss: 0.028233 Train acc: 0.988333\n",
      "Epoch: 636/1000 Iteration: 5730 Train loss: 0.021250 Train acc: 0.995000\n",
      "Epoch: 636/1000 Iteration: 5730 Validation loss: 0.047824 Validation acc: 0.983889\n",
      "Epoch: 637/1000 Iteration: 5735 Train loss: 0.017312 Train acc: 0.993333\n",
      "Epoch: 637/1000 Iteration: 5740 Train loss: 0.025866 Train acc: 0.990000\n",
      "Epoch: 637/1000 Iteration: 5740 Validation loss: 0.048174 Validation acc: 0.982222\n",
      "Epoch: 638/1000 Iteration: 5745 Train loss: 0.039832 Train acc: 0.981667\n",
      "Epoch: 638/1000 Iteration: 5750 Train loss: 0.018522 Train acc: 0.990000\n",
      "Epoch: 638/1000 Iteration: 5750 Validation loss: 0.048202 Validation acc: 0.981667\n",
      "Epoch: 639/1000 Iteration: 5755 Train loss: 0.042080 Train acc: 0.983333\n",
      "Epoch: 639/1000 Iteration: 5760 Train loss: 0.023543 Train acc: 0.993333\n",
      "Epoch: 639/1000 Iteration: 5760 Validation loss: 0.047966 Validation acc: 0.981111\n",
      "Epoch: 640/1000 Iteration: 5765 Train loss: 0.037329 Train acc: 0.985000\n",
      "Epoch: 641/1000 Iteration: 5770 Train loss: 0.025149 Train acc: 0.991667\n",
      "Epoch: 641/1000 Iteration: 5770 Validation loss: 0.047443 Validation acc: 0.982222\n",
      "Epoch: 641/1000 Iteration: 5775 Train loss: 0.026595 Train acc: 0.990000\n",
      "Epoch: 642/1000 Iteration: 5780 Train loss: 0.015257 Train acc: 0.995000\n",
      "Epoch: 642/1000 Iteration: 5780 Validation loss: 0.047278 Validation acc: 0.984444\n",
      "Epoch: 642/1000 Iteration: 5785 Train loss: 0.026207 Train acc: 0.990000\n",
      "Epoch: 643/1000 Iteration: 5790 Train loss: 0.040769 Train acc: 0.983333\n",
      "Epoch: 643/1000 Iteration: 5790 Validation loss: 0.047899 Validation acc: 0.982222\n",
      "Epoch: 643/1000 Iteration: 5795 Train loss: 0.014797 Train acc: 0.996667\n",
      "Epoch: 644/1000 Iteration: 5800 Train loss: 0.043185 Train acc: 0.981667\n",
      "Epoch: 644/1000 Iteration: 5800 Validation loss: 0.047283 Validation acc: 0.985000\n",
      "Epoch: 644/1000 Iteration: 5805 Train loss: 0.022963 Train acc: 0.990000\n",
      "Epoch: 645/1000 Iteration: 5810 Train loss: 0.034556 Train acc: 0.986667\n",
      "Epoch: 645/1000 Iteration: 5810 Validation loss: 0.047358 Validation acc: 0.984444\n",
      "Epoch: 646/1000 Iteration: 5815 Train loss: 0.027106 Train acc: 0.991667\n",
      "Epoch: 646/1000 Iteration: 5820 Train loss: 0.028979 Train acc: 0.990000\n",
      "Epoch: 646/1000 Iteration: 5820 Validation loss: 0.046842 Validation acc: 0.983889\n",
      "Epoch: 647/1000 Iteration: 5825 Train loss: 0.015654 Train acc: 0.995000\n",
      "Epoch: 647/1000 Iteration: 5830 Train loss: 0.023581 Train acc: 0.991667\n",
      "Epoch: 647/1000 Iteration: 5830 Validation loss: 0.046862 Validation acc: 0.982222\n",
      "Epoch: 648/1000 Iteration: 5835 Train loss: 0.038228 Train acc: 0.986667\n",
      "Epoch: 648/1000 Iteration: 5840 Train loss: 0.015959 Train acc: 0.995000\n",
      "Epoch: 648/1000 Iteration: 5840 Validation loss: 0.047389 Validation acc: 0.982778\n",
      "Epoch: 649/1000 Iteration: 5845 Train loss: 0.039009 Train acc: 0.981667\n",
      "Epoch: 649/1000 Iteration: 5850 Train loss: 0.024641 Train acc: 0.986667\n",
      "Epoch: 649/1000 Iteration: 5850 Validation loss: 0.047748 Validation acc: 0.982222\n",
      "Epoch: 650/1000 Iteration: 5855 Train loss: 0.036064 Train acc: 0.981667\n",
      "Epoch: 651/1000 Iteration: 5860 Train loss: 0.027161 Train acc: 0.991667\n",
      "Epoch: 651/1000 Iteration: 5860 Validation loss: 0.046784 Validation acc: 0.982778\n",
      "Epoch: 651/1000 Iteration: 5865 Train loss: 0.022735 Train acc: 0.995000\n",
      "Epoch: 652/1000 Iteration: 5870 Train loss: 0.013694 Train acc: 0.995000\n",
      "Epoch: 652/1000 Iteration: 5870 Validation loss: 0.047789 Validation acc: 0.982778\n",
      "Epoch: 652/1000 Iteration: 5875 Train loss: 0.028503 Train acc: 0.986667\n",
      "Epoch: 653/1000 Iteration: 5880 Train loss: 0.034582 Train acc: 0.985000\n",
      "Epoch: 653/1000 Iteration: 5880 Validation loss: 0.047577 Validation acc: 0.983333\n",
      "Epoch: 653/1000 Iteration: 5885 Train loss: 0.016738 Train acc: 0.996667\n",
      "Epoch: 654/1000 Iteration: 5890 Train loss: 0.043890 Train acc: 0.983333\n",
      "Epoch: 654/1000 Iteration: 5890 Validation loss: 0.046685 Validation acc: 0.983333\n",
      "Epoch: 654/1000 Iteration: 5895 Train loss: 0.022539 Train acc: 0.995000\n",
      "Epoch: 655/1000 Iteration: 5900 Train loss: 0.037031 Train acc: 0.986667\n",
      "Epoch: 655/1000 Iteration: 5900 Validation loss: 0.046661 Validation acc: 0.983889\n",
      "Epoch: 656/1000 Iteration: 5905 Train loss: 0.028755 Train acc: 0.986667\n",
      "Epoch: 656/1000 Iteration: 5910 Train loss: 0.025339 Train acc: 0.991667\n",
      "Epoch: 656/1000 Iteration: 5910 Validation loss: 0.047053 Validation acc: 0.984444\n",
      "Epoch: 657/1000 Iteration: 5915 Train loss: 0.015762 Train acc: 0.993333\n",
      "Epoch: 657/1000 Iteration: 5920 Train loss: 0.023137 Train acc: 0.990000\n",
      "Epoch: 657/1000 Iteration: 5920 Validation loss: 0.046897 Validation acc: 0.981667\n",
      "Epoch: 658/1000 Iteration: 5925 Train loss: 0.039552 Train acc: 0.980000\n",
      "Epoch: 658/1000 Iteration: 5930 Train loss: 0.015159 Train acc: 0.996667\n",
      "Epoch: 658/1000 Iteration: 5930 Validation loss: 0.045946 Validation acc: 0.983889\n",
      "Epoch: 659/1000 Iteration: 5935 Train loss: 0.040642 Train acc: 0.983333\n",
      "Epoch: 659/1000 Iteration: 5940 Train loss: 0.023157 Train acc: 0.990000\n",
      "Epoch: 659/1000 Iteration: 5940 Validation loss: 0.047196 Validation acc: 0.982222\n",
      "Epoch: 660/1000 Iteration: 5945 Train loss: 0.028475 Train acc: 0.988333\n",
      "Epoch: 661/1000 Iteration: 5950 Train loss: 0.027274 Train acc: 0.993333\n",
      "Epoch: 661/1000 Iteration: 5950 Validation loss: 0.046466 Validation acc: 0.983333\n",
      "Epoch: 661/1000 Iteration: 5955 Train loss: 0.023371 Train acc: 0.991667\n",
      "Epoch: 662/1000 Iteration: 5960 Train loss: 0.012940 Train acc: 0.998333\n",
      "Epoch: 662/1000 Iteration: 5960 Validation loss: 0.046497 Validation acc: 0.984444\n",
      "Epoch: 662/1000 Iteration: 5965 Train loss: 0.030272 Train acc: 0.990000\n",
      "Epoch: 663/1000 Iteration: 5970 Train loss: 0.034955 Train acc: 0.986667\n",
      "Epoch: 663/1000 Iteration: 5970 Validation loss: 0.045968 Validation acc: 0.984444\n",
      "Epoch: 663/1000 Iteration: 5975 Train loss: 0.018394 Train acc: 0.995000\n",
      "Epoch: 664/1000 Iteration: 5980 Train loss: 0.038002 Train acc: 0.983333\n",
      "Epoch: 664/1000 Iteration: 5980 Validation loss: 0.046092 Validation acc: 0.985000\n",
      "Epoch: 664/1000 Iteration: 5985 Train loss: 0.019405 Train acc: 0.998333\n",
      "Epoch: 665/1000 Iteration: 5990 Train loss: 0.030420 Train acc: 0.985000\n",
      "Epoch: 665/1000 Iteration: 5990 Validation loss: 0.046199 Validation acc: 0.984444\n",
      "Epoch: 666/1000 Iteration: 5995 Train loss: 0.025559 Train acc: 0.991667\n",
      "Epoch: 666/1000 Iteration: 6000 Train loss: 0.027678 Train acc: 0.993333\n",
      "Epoch: 666/1000 Iteration: 6000 Validation loss: 0.045489 Validation acc: 0.985000\n",
      "Epoch: 667/1000 Iteration: 6005 Train loss: 0.016741 Train acc: 0.993333\n",
      "Epoch: 667/1000 Iteration: 6010 Train loss: 0.020379 Train acc: 0.991667\n",
      "Epoch: 667/1000 Iteration: 6010 Validation loss: 0.045712 Validation acc: 0.983333\n",
      "Epoch: 668/1000 Iteration: 6015 Train loss: 0.038636 Train acc: 0.985000\n",
      "Epoch: 668/1000 Iteration: 6020 Train loss: 0.018345 Train acc: 0.993333\n",
      "Epoch: 668/1000 Iteration: 6020 Validation loss: 0.046456 Validation acc: 0.981667\n",
      "Epoch: 669/1000 Iteration: 6025 Train loss: 0.038460 Train acc: 0.981667\n",
      "Epoch: 669/1000 Iteration: 6030 Train loss: 0.021155 Train acc: 0.993333\n",
      "Epoch: 669/1000 Iteration: 6030 Validation loss: 0.045770 Validation acc: 0.982222\n",
      "Epoch: 670/1000 Iteration: 6035 Train loss: 0.032835 Train acc: 0.986667\n",
      "Epoch: 671/1000 Iteration: 6040 Train loss: 0.025007 Train acc: 0.991667\n",
      "Epoch: 671/1000 Iteration: 6040 Validation loss: 0.045470 Validation acc: 0.983889\n",
      "Epoch: 671/1000 Iteration: 6045 Train loss: 0.029308 Train acc: 0.991667\n",
      "Epoch: 672/1000 Iteration: 6050 Train loss: 0.014740 Train acc: 0.993333\n",
      "Epoch: 672/1000 Iteration: 6050 Validation loss: 0.045210 Validation acc: 0.984444\n",
      "Epoch: 672/1000 Iteration: 6055 Train loss: 0.024291 Train acc: 0.990000\n",
      "Epoch: 673/1000 Iteration: 6060 Train loss: 0.035495 Train acc: 0.985000\n",
      "Epoch: 673/1000 Iteration: 6060 Validation loss: 0.045655 Validation acc: 0.984444\n",
      "Epoch: 673/1000 Iteration: 6065 Train loss: 0.017462 Train acc: 0.993333\n",
      "Epoch: 674/1000 Iteration: 6070 Train loss: 0.031875 Train acc: 0.990000\n",
      "Epoch: 674/1000 Iteration: 6070 Validation loss: 0.045054 Validation acc: 0.985000\n",
      "Epoch: 674/1000 Iteration: 6075 Train loss: 0.026490 Train acc: 0.985000\n",
      "Epoch: 675/1000 Iteration: 6080 Train loss: 0.031626 Train acc: 0.988333\n",
      "Epoch: 675/1000 Iteration: 6080 Validation loss: 0.044850 Validation acc: 0.985556\n",
      "Epoch: 676/1000 Iteration: 6085 Train loss: 0.022727 Train acc: 0.993333\n",
      "Epoch: 676/1000 Iteration: 6090 Train loss: 0.024534 Train acc: 0.991667\n",
      "Epoch: 676/1000 Iteration: 6090 Validation loss: 0.045106 Validation acc: 0.985556\n",
      "Epoch: 677/1000 Iteration: 6095 Train loss: 0.014333 Train acc: 0.998333\n",
      "Epoch: 677/1000 Iteration: 6100 Train loss: 0.026440 Train acc: 0.986667\n",
      "Epoch: 677/1000 Iteration: 6100 Validation loss: 0.044701 Validation acc: 0.985000\n",
      "Epoch: 678/1000 Iteration: 6105 Train loss: 0.034294 Train acc: 0.983333\n",
      "Epoch: 678/1000 Iteration: 6110 Train loss: 0.017925 Train acc: 0.993333\n",
      "Epoch: 678/1000 Iteration: 6110 Validation loss: 0.044554 Validation acc: 0.985556\n",
      "Epoch: 679/1000 Iteration: 6115 Train loss: 0.038137 Train acc: 0.983333\n",
      "Epoch: 679/1000 Iteration: 6120 Train loss: 0.022094 Train acc: 0.995000\n",
      "Epoch: 679/1000 Iteration: 6120 Validation loss: 0.044819 Validation acc: 0.983889\n",
      "Epoch: 680/1000 Iteration: 6125 Train loss: 0.034509 Train acc: 0.983333\n",
      "Epoch: 681/1000 Iteration: 6130 Train loss: 0.023891 Train acc: 0.991667\n",
      "Epoch: 681/1000 Iteration: 6130 Validation loss: 0.045686 Validation acc: 0.983889\n",
      "Epoch: 681/1000 Iteration: 6135 Train loss: 0.025075 Train acc: 0.991667\n",
      "Epoch: 682/1000 Iteration: 6140 Train loss: 0.012025 Train acc: 0.998333\n",
      "Epoch: 682/1000 Iteration: 6140 Validation loss: 0.043911 Validation acc: 0.986667\n",
      "Epoch: 682/1000 Iteration: 6145 Train loss: 0.022961 Train acc: 0.990000\n",
      "Epoch: 683/1000 Iteration: 6150 Train loss: 0.033385 Train acc: 0.981667\n",
      "Epoch: 683/1000 Iteration: 6150 Validation loss: 0.044386 Validation acc: 0.985000\n",
      "Epoch: 683/1000 Iteration: 6155 Train loss: 0.014443 Train acc: 0.995000\n",
      "Epoch: 684/1000 Iteration: 6160 Train loss: 0.034959 Train acc: 0.983333\n",
      "Epoch: 684/1000 Iteration: 6160 Validation loss: 0.044144 Validation acc: 0.985556\n",
      "Epoch: 684/1000 Iteration: 6165 Train loss: 0.021062 Train acc: 0.993333\n",
      "Epoch: 685/1000 Iteration: 6170 Train loss: 0.034099 Train acc: 0.985000\n",
      "Epoch: 685/1000 Iteration: 6170 Validation loss: 0.044461 Validation acc: 0.985000\n",
      "Epoch: 686/1000 Iteration: 6175 Train loss: 0.021827 Train acc: 0.990000\n",
      "Epoch: 686/1000 Iteration: 6180 Train loss: 0.020424 Train acc: 0.995000\n",
      "Epoch: 686/1000 Iteration: 6180 Validation loss: 0.044623 Validation acc: 0.984444\n",
      "Epoch: 687/1000 Iteration: 6185 Train loss: 0.015665 Train acc: 0.993333\n",
      "Epoch: 687/1000 Iteration: 6190 Train loss: 0.022996 Train acc: 0.990000\n",
      "Epoch: 687/1000 Iteration: 6190 Validation loss: 0.044251 Validation acc: 0.984444\n",
      "Epoch: 688/1000 Iteration: 6195 Train loss: 0.033907 Train acc: 0.986667\n",
      "Epoch: 688/1000 Iteration: 6200 Train loss: 0.015280 Train acc: 0.993333\n",
      "Epoch: 688/1000 Iteration: 6200 Validation loss: 0.044080 Validation acc: 0.984444\n",
      "Epoch: 689/1000 Iteration: 6205 Train loss: 0.041089 Train acc: 0.983333\n",
      "Epoch: 689/1000 Iteration: 6210 Train loss: 0.021226 Train acc: 0.991667\n",
      "Epoch: 689/1000 Iteration: 6210 Validation loss: 0.044599 Validation acc: 0.984444\n",
      "Epoch: 690/1000 Iteration: 6215 Train loss: 0.030016 Train acc: 0.986667\n",
      "Epoch: 691/1000 Iteration: 6220 Train loss: 0.021618 Train acc: 0.995000\n",
      "Epoch: 691/1000 Iteration: 6220 Validation loss: 0.044220 Validation acc: 0.985000\n",
      "Epoch: 691/1000 Iteration: 6225 Train loss: 0.021315 Train acc: 0.996667\n",
      "Epoch: 692/1000 Iteration: 6230 Train loss: 0.011236 Train acc: 0.998333\n",
      "Epoch: 692/1000 Iteration: 6230 Validation loss: 0.043517 Validation acc: 0.985556\n",
      "Epoch: 692/1000 Iteration: 6235 Train loss: 0.020954 Train acc: 0.993333\n",
      "Epoch: 693/1000 Iteration: 6240 Train loss: 0.033450 Train acc: 0.986667\n",
      "Epoch: 693/1000 Iteration: 6240 Validation loss: 0.043982 Validation acc: 0.985556\n",
      "Epoch: 693/1000 Iteration: 6245 Train loss: 0.013923 Train acc: 0.996667\n",
      "Epoch: 694/1000 Iteration: 6250 Train loss: 0.037265 Train acc: 0.985000\n",
      "Epoch: 694/1000 Iteration: 6250 Validation loss: 0.044669 Validation acc: 0.985556\n",
      "Epoch: 694/1000 Iteration: 6255 Train loss: 0.024963 Train acc: 0.991667\n",
      "Epoch: 695/1000 Iteration: 6260 Train loss: 0.030452 Train acc: 0.985000\n",
      "Epoch: 695/1000 Iteration: 6260 Validation loss: 0.043712 Validation acc: 0.986667\n",
      "Epoch: 696/1000 Iteration: 6265 Train loss: 0.021506 Train acc: 0.991667\n",
      "Epoch: 696/1000 Iteration: 6270 Train loss: 0.021121 Train acc: 0.995000\n",
      "Epoch: 696/1000 Iteration: 6270 Validation loss: 0.044143 Validation acc: 0.984444\n",
      "Epoch: 697/1000 Iteration: 6275 Train loss: 0.011961 Train acc: 0.996667\n",
      "Epoch: 697/1000 Iteration: 6280 Train loss: 0.022598 Train acc: 0.991667\n",
      "Epoch: 697/1000 Iteration: 6280 Validation loss: 0.043336 Validation acc: 0.985000\n",
      "Epoch: 698/1000 Iteration: 6285 Train loss: 0.032824 Train acc: 0.988333\n",
      "Epoch: 698/1000 Iteration: 6290 Train loss: 0.015467 Train acc: 0.995000\n",
      "Epoch: 698/1000 Iteration: 6290 Validation loss: 0.043385 Validation acc: 0.985556\n",
      "Epoch: 699/1000 Iteration: 6295 Train loss: 0.035221 Train acc: 0.986667\n",
      "Epoch: 699/1000 Iteration: 6300 Train loss: 0.020942 Train acc: 0.990000\n",
      "Epoch: 699/1000 Iteration: 6300 Validation loss: 0.044047 Validation acc: 0.984444\n",
      "Epoch: 700/1000 Iteration: 6305 Train loss: 0.031993 Train acc: 0.983333\n",
      "Epoch: 701/1000 Iteration: 6310 Train loss: 0.025195 Train acc: 0.988333\n",
      "Epoch: 701/1000 Iteration: 6310 Validation loss: 0.044278 Validation acc: 0.983889\n",
      "Epoch: 701/1000 Iteration: 6315 Train loss: 0.023720 Train acc: 0.990000\n",
      "Epoch: 702/1000 Iteration: 6320 Train loss: 0.013251 Train acc: 0.995000\n",
      "Epoch: 702/1000 Iteration: 6320 Validation loss: 0.042557 Validation acc: 0.987778\n",
      "Epoch: 702/1000 Iteration: 6325 Train loss: 0.020305 Train acc: 0.991667\n",
      "Epoch: 703/1000 Iteration: 6330 Train loss: 0.032973 Train acc: 0.988333\n",
      "Epoch: 703/1000 Iteration: 6330 Validation loss: 0.043190 Validation acc: 0.985556\n",
      "Epoch: 703/1000 Iteration: 6335 Train loss: 0.015682 Train acc: 0.990000\n",
      "Epoch: 704/1000 Iteration: 6340 Train loss: 0.031905 Train acc: 0.991667\n",
      "Epoch: 704/1000 Iteration: 6340 Validation loss: 0.043717 Validation acc: 0.985000\n",
      "Epoch: 704/1000 Iteration: 6345 Train loss: 0.021762 Train acc: 0.990000\n",
      "Epoch: 705/1000 Iteration: 6350 Train loss: 0.028820 Train acc: 0.990000\n",
      "Epoch: 705/1000 Iteration: 6350 Validation loss: 0.043054 Validation acc: 0.985556\n",
      "Epoch: 706/1000 Iteration: 6355 Train loss: 0.023512 Train acc: 0.991667\n",
      "Epoch: 706/1000 Iteration: 6360 Train loss: 0.024789 Train acc: 0.993333\n",
      "Epoch: 706/1000 Iteration: 6360 Validation loss: 0.043363 Validation acc: 0.985000\n",
      "Epoch: 707/1000 Iteration: 6365 Train loss: 0.014103 Train acc: 0.993333\n",
      "Epoch: 707/1000 Iteration: 6370 Train loss: 0.021527 Train acc: 0.991667\n",
      "Epoch: 707/1000 Iteration: 6370 Validation loss: 0.044088 Validation acc: 0.983889\n",
      "Epoch: 708/1000 Iteration: 6375 Train loss: 0.031098 Train acc: 0.990000\n",
      "Epoch: 708/1000 Iteration: 6380 Train loss: 0.015672 Train acc: 0.995000\n",
      "Epoch: 708/1000 Iteration: 6380 Validation loss: 0.043461 Validation acc: 0.984444\n",
      "Epoch: 709/1000 Iteration: 6385 Train loss: 0.032390 Train acc: 0.985000\n",
      "Epoch: 709/1000 Iteration: 6390 Train loss: 0.019439 Train acc: 0.990000\n",
      "Epoch: 709/1000 Iteration: 6390 Validation loss: 0.042964 Validation acc: 0.985556\n",
      "Epoch: 710/1000 Iteration: 6395 Train loss: 0.030688 Train acc: 0.986667\n",
      "Epoch: 711/1000 Iteration: 6400 Train loss: 0.024348 Train acc: 0.991667\n",
      "Epoch: 711/1000 Iteration: 6400 Validation loss: 0.043371 Validation acc: 0.985556\n",
      "Epoch: 711/1000 Iteration: 6405 Train loss: 0.024463 Train acc: 0.991667\n",
      "Epoch: 712/1000 Iteration: 6410 Train loss: 0.013467 Train acc: 0.993333\n",
      "Epoch: 712/1000 Iteration: 6410 Validation loss: 0.043398 Validation acc: 0.985000\n",
      "Epoch: 712/1000 Iteration: 6415 Train loss: 0.020867 Train acc: 0.988333\n",
      "Epoch: 713/1000 Iteration: 6420 Train loss: 0.029480 Train acc: 0.991667\n",
      "Epoch: 713/1000 Iteration: 6420 Validation loss: 0.042477 Validation acc: 0.986111\n",
      "Epoch: 713/1000 Iteration: 6425 Train loss: 0.013125 Train acc: 0.995000\n",
      "Epoch: 714/1000 Iteration: 6430 Train loss: 0.034307 Train acc: 0.983333\n",
      "Epoch: 714/1000 Iteration: 6430 Validation loss: 0.042309 Validation acc: 0.987222\n",
      "Epoch: 714/1000 Iteration: 6435 Train loss: 0.023649 Train acc: 0.993333\n",
      "Epoch: 715/1000 Iteration: 6440 Train loss: 0.032180 Train acc: 0.986667\n",
      "Epoch: 715/1000 Iteration: 6440 Validation loss: 0.044087 Validation acc: 0.985556\n",
      "Epoch: 716/1000 Iteration: 6445 Train loss: 0.020922 Train acc: 0.995000\n",
      "Epoch: 716/1000 Iteration: 6450 Train loss: 0.022697 Train acc: 0.996667\n",
      "Epoch: 716/1000 Iteration: 6450 Validation loss: 0.042756 Validation acc: 0.985556\n",
      "Epoch: 717/1000 Iteration: 6455 Train loss: 0.011294 Train acc: 0.998333\n",
      "Epoch: 717/1000 Iteration: 6460 Train loss: 0.020412 Train acc: 0.993333\n",
      "Epoch: 717/1000 Iteration: 6460 Validation loss: 0.042449 Validation acc: 0.985556\n",
      "Epoch: 718/1000 Iteration: 6465 Train loss: 0.033039 Train acc: 0.988333\n",
      "Epoch: 718/1000 Iteration: 6470 Train loss: 0.012741 Train acc: 0.995000\n",
      "Epoch: 718/1000 Iteration: 6470 Validation loss: 0.044063 Validation acc: 0.984444\n",
      "Epoch: 719/1000 Iteration: 6475 Train loss: 0.032870 Train acc: 0.990000\n",
      "Epoch: 719/1000 Iteration: 6480 Train loss: 0.019407 Train acc: 0.998333\n",
      "Epoch: 719/1000 Iteration: 6480 Validation loss: 0.043739 Validation acc: 0.985000\n",
      "Epoch: 720/1000 Iteration: 6485 Train loss: 0.030715 Train acc: 0.986667\n",
      "Epoch: 721/1000 Iteration: 6490 Train loss: 0.025487 Train acc: 0.990000\n",
      "Epoch: 721/1000 Iteration: 6490 Validation loss: 0.042571 Validation acc: 0.985556\n",
      "Epoch: 721/1000 Iteration: 6495 Train loss: 0.026578 Train acc: 0.990000\n",
      "Epoch: 722/1000 Iteration: 6500 Train loss: 0.012905 Train acc: 0.996667\n",
      "Epoch: 722/1000 Iteration: 6500 Validation loss: 0.043233 Validation acc: 0.983333\n",
      "Epoch: 722/1000 Iteration: 6505 Train loss: 0.019777 Train acc: 0.995000\n",
      "Epoch: 723/1000 Iteration: 6510 Train loss: 0.028980 Train acc: 0.985000\n",
      "Epoch: 723/1000 Iteration: 6510 Validation loss: 0.043125 Validation acc: 0.985556\n",
      "Epoch: 723/1000 Iteration: 6515 Train loss: 0.014166 Train acc: 0.998333\n",
      "Epoch: 724/1000 Iteration: 6520 Train loss: 0.031322 Train acc: 0.988333\n",
      "Epoch: 724/1000 Iteration: 6520 Validation loss: 0.042607 Validation acc: 0.986667\n",
      "Epoch: 724/1000 Iteration: 6525 Train loss: 0.018551 Train acc: 0.991667\n",
      "Epoch: 725/1000 Iteration: 6530 Train loss: 0.026439 Train acc: 0.991667\n",
      "Epoch: 725/1000 Iteration: 6530 Validation loss: 0.041797 Validation acc: 0.986667\n",
      "Epoch: 726/1000 Iteration: 6535 Train loss: 0.020560 Train acc: 0.996667\n",
      "Epoch: 726/1000 Iteration: 6540 Train loss: 0.021334 Train acc: 0.996667\n",
      "Epoch: 726/1000 Iteration: 6540 Validation loss: 0.042011 Validation acc: 0.986667\n",
      "Epoch: 727/1000 Iteration: 6545 Train loss: 0.011969 Train acc: 0.996667\n",
      "Epoch: 727/1000 Iteration: 6550 Train loss: 0.021231 Train acc: 0.991667\n",
      "Epoch: 727/1000 Iteration: 6550 Validation loss: 0.043529 Validation acc: 0.986111\n",
      "Epoch: 728/1000 Iteration: 6555 Train loss: 0.028915 Train acc: 0.990000\n",
      "Epoch: 728/1000 Iteration: 6560 Train loss: 0.014845 Train acc: 0.991667\n",
      "Epoch: 728/1000 Iteration: 6560 Validation loss: 0.043200 Validation acc: 0.985556\n",
      "Epoch: 729/1000 Iteration: 6565 Train loss: 0.031511 Train acc: 0.986667\n",
      "Epoch: 729/1000 Iteration: 6570 Train loss: 0.020352 Train acc: 0.993333\n",
      "Epoch: 729/1000 Iteration: 6570 Validation loss: 0.042092 Validation acc: 0.986667\n",
      "Epoch: 730/1000 Iteration: 6575 Train loss: 0.026549 Train acc: 0.990000\n",
      "Epoch: 731/1000 Iteration: 6580 Train loss: 0.021921 Train acc: 0.991667\n",
      "Epoch: 731/1000 Iteration: 6580 Validation loss: 0.043468 Validation acc: 0.985556\n",
      "Epoch: 731/1000 Iteration: 6585 Train loss: 0.023017 Train acc: 0.990000\n",
      "Epoch: 732/1000 Iteration: 6590 Train loss: 0.011536 Train acc: 0.998333\n",
      "Epoch: 732/1000 Iteration: 6590 Validation loss: 0.042442 Validation acc: 0.986111\n",
      "Epoch: 732/1000 Iteration: 6595 Train loss: 0.019680 Train acc: 0.993333\n",
      "Epoch: 733/1000 Iteration: 6600 Train loss: 0.031269 Train acc: 0.988333\n",
      "Epoch: 733/1000 Iteration: 6600 Validation loss: 0.041612 Validation acc: 0.986667\n",
      "Epoch: 733/1000 Iteration: 6605 Train loss: 0.011734 Train acc: 0.998333\n",
      "Epoch: 734/1000 Iteration: 6610 Train loss: 0.037095 Train acc: 0.986667\n",
      "Epoch: 734/1000 Iteration: 6610 Validation loss: 0.042798 Validation acc: 0.986111\n",
      "Epoch: 734/1000 Iteration: 6615 Train loss: 0.020388 Train acc: 0.991667\n",
      "Epoch: 735/1000 Iteration: 6620 Train loss: 0.029003 Train acc: 0.988333\n",
      "Epoch: 735/1000 Iteration: 6620 Validation loss: 0.043341 Validation acc: 0.985556\n",
      "Epoch: 736/1000 Iteration: 6625 Train loss: 0.020280 Train acc: 0.993333\n",
      "Epoch: 736/1000 Iteration: 6630 Train loss: 0.018476 Train acc: 0.995000\n",
      "Epoch: 736/1000 Iteration: 6630 Validation loss: 0.042010 Validation acc: 0.987222\n",
      "Epoch: 737/1000 Iteration: 6635 Train loss: 0.010605 Train acc: 0.998333\n",
      "Epoch: 737/1000 Iteration: 6640 Train loss: 0.016447 Train acc: 0.998333\n",
      "Epoch: 737/1000 Iteration: 6640 Validation loss: 0.042969 Validation acc: 0.986111\n",
      "Epoch: 738/1000 Iteration: 6645 Train loss: 0.028038 Train acc: 0.990000\n",
      "Epoch: 738/1000 Iteration: 6650 Train loss: 0.013130 Train acc: 0.993333\n",
      "Epoch: 738/1000 Iteration: 6650 Validation loss: 0.042623 Validation acc: 0.986667\n",
      "Epoch: 739/1000 Iteration: 6655 Train loss: 0.031869 Train acc: 0.986667\n",
      "Epoch: 739/1000 Iteration: 6660 Train loss: 0.019759 Train acc: 0.995000\n",
      "Epoch: 739/1000 Iteration: 6660 Validation loss: 0.041816 Validation acc: 0.986667\n",
      "Epoch: 740/1000 Iteration: 6665 Train loss: 0.026835 Train acc: 0.990000\n",
      "Epoch: 741/1000 Iteration: 6670 Train loss: 0.024904 Train acc: 0.990000\n",
      "Epoch: 741/1000 Iteration: 6670 Validation loss: 0.041668 Validation acc: 0.986667\n",
      "Epoch: 741/1000 Iteration: 6675 Train loss: 0.023936 Train acc: 0.993333\n",
      "Epoch: 742/1000 Iteration: 6680 Train loss: 0.011854 Train acc: 0.995000\n",
      "Epoch: 742/1000 Iteration: 6680 Validation loss: 0.042401 Validation acc: 0.986667\n",
      "Epoch: 742/1000 Iteration: 6685 Train loss: 0.017430 Train acc: 0.993333\n",
      "Epoch: 743/1000 Iteration: 6690 Train loss: 0.029540 Train acc: 0.986667\n",
      "Epoch: 743/1000 Iteration: 6690 Validation loss: 0.041299 Validation acc: 0.986111\n",
      "Epoch: 743/1000 Iteration: 6695 Train loss: 0.012713 Train acc: 0.995000\n",
      "Epoch: 744/1000 Iteration: 6700 Train loss: 0.031142 Train acc: 0.986667\n",
      "Epoch: 744/1000 Iteration: 6700 Validation loss: 0.041899 Validation acc: 0.986111\n",
      "Epoch: 744/1000 Iteration: 6705 Train loss: 0.017706 Train acc: 0.995000\n",
      "Epoch: 745/1000 Iteration: 6710 Train loss: 0.032034 Train acc: 0.983333\n",
      "Epoch: 745/1000 Iteration: 6710 Validation loss: 0.042205 Validation acc: 0.985556\n",
      "Epoch: 746/1000 Iteration: 6715 Train loss: 0.019235 Train acc: 0.995000\n",
      "Epoch: 746/1000 Iteration: 6720 Train loss: 0.017384 Train acc: 0.995000\n",
      "Epoch: 746/1000 Iteration: 6720 Validation loss: 0.041157 Validation acc: 0.986667\n",
      "Epoch: 747/1000 Iteration: 6725 Train loss: 0.014318 Train acc: 0.996667\n",
      "Epoch: 747/1000 Iteration: 6730 Train loss: 0.018682 Train acc: 0.993333\n",
      "Epoch: 747/1000 Iteration: 6730 Validation loss: 0.041252 Validation acc: 0.986667\n",
      "Epoch: 748/1000 Iteration: 6735 Train loss: 0.027569 Train acc: 0.990000\n",
      "Epoch: 748/1000 Iteration: 6740 Train loss: 0.013476 Train acc: 0.995000\n",
      "Epoch: 748/1000 Iteration: 6740 Validation loss: 0.041400 Validation acc: 0.986667\n",
      "Epoch: 749/1000 Iteration: 6745 Train loss: 0.033808 Train acc: 0.981667\n",
      "Epoch: 749/1000 Iteration: 6750 Train loss: 0.018614 Train acc: 0.993333\n",
      "Epoch: 749/1000 Iteration: 6750 Validation loss: 0.042517 Validation acc: 0.985000\n",
      "Epoch: 750/1000 Iteration: 6755 Train loss: 0.025779 Train acc: 0.993333\n",
      "Epoch: 751/1000 Iteration: 6760 Train loss: 0.020847 Train acc: 0.991667\n",
      "Epoch: 751/1000 Iteration: 6760 Validation loss: 0.041556 Validation acc: 0.986667\n",
      "Epoch: 751/1000 Iteration: 6765 Train loss: 0.018256 Train acc: 0.996667\n",
      "Epoch: 752/1000 Iteration: 6770 Train loss: 0.009957 Train acc: 0.998333\n",
      "Epoch: 752/1000 Iteration: 6770 Validation loss: 0.041849 Validation acc: 0.987222\n",
      "Epoch: 752/1000 Iteration: 6775 Train loss: 0.016721 Train acc: 0.995000\n",
      "Epoch: 753/1000 Iteration: 6780 Train loss: 0.028321 Train acc: 0.990000\n",
      "Epoch: 753/1000 Iteration: 6780 Validation loss: 0.041988 Validation acc: 0.987222\n",
      "Epoch: 753/1000 Iteration: 6785 Train loss: 0.011750 Train acc: 0.998333\n",
      "Epoch: 754/1000 Iteration: 6790 Train loss: 0.031217 Train acc: 0.986667\n",
      "Epoch: 754/1000 Iteration: 6790 Validation loss: 0.040984 Validation acc: 0.989444\n",
      "Epoch: 754/1000 Iteration: 6795 Train loss: 0.017227 Train acc: 0.995000\n",
      "Epoch: 755/1000 Iteration: 6800 Train loss: 0.024901 Train acc: 0.991667\n",
      "Epoch: 755/1000 Iteration: 6800 Validation loss: 0.041134 Validation acc: 0.987778\n",
      "Epoch: 756/1000 Iteration: 6805 Train loss: 0.019742 Train acc: 0.993333\n",
      "Epoch: 756/1000 Iteration: 6810 Train loss: 0.018459 Train acc: 0.998333\n",
      "Epoch: 756/1000 Iteration: 6810 Validation loss: 0.041326 Validation acc: 0.986667\n",
      "Epoch: 757/1000 Iteration: 6815 Train loss: 0.009773 Train acc: 0.996667\n",
      "Epoch: 757/1000 Iteration: 6820 Train loss: 0.019793 Train acc: 0.993333\n",
      "Epoch: 757/1000 Iteration: 6820 Validation loss: 0.041607 Validation acc: 0.987222\n",
      "Epoch: 758/1000 Iteration: 6825 Train loss: 0.027565 Train acc: 0.993333\n",
      "Epoch: 758/1000 Iteration: 6830 Train loss: 0.015136 Train acc: 0.995000\n",
      "Epoch: 758/1000 Iteration: 6830 Validation loss: 0.042530 Validation acc: 0.986111\n",
      "Epoch: 759/1000 Iteration: 6835 Train loss: 0.031667 Train acc: 0.986667\n",
      "Epoch: 759/1000 Iteration: 6840 Train loss: 0.019535 Train acc: 0.993333\n",
      "Epoch: 759/1000 Iteration: 6840 Validation loss: 0.042180 Validation acc: 0.986111\n",
      "Epoch: 760/1000 Iteration: 6845 Train loss: 0.026317 Train acc: 0.986667\n",
      "Epoch: 761/1000 Iteration: 6850 Train loss: 0.018043 Train acc: 0.998333\n",
      "Epoch: 761/1000 Iteration: 6850 Validation loss: 0.040911 Validation acc: 0.987222\n",
      "Epoch: 761/1000 Iteration: 6855 Train loss: 0.021179 Train acc: 0.995000\n",
      "Epoch: 762/1000 Iteration: 6860 Train loss: 0.010105 Train acc: 0.998333\n",
      "Epoch: 762/1000 Iteration: 6860 Validation loss: 0.041016 Validation acc: 0.988333\n",
      "Epoch: 762/1000 Iteration: 6865 Train loss: 0.017980 Train acc: 0.993333\n",
      "Epoch: 763/1000 Iteration: 6870 Train loss: 0.025844 Train acc: 0.991667\n",
      "Epoch: 763/1000 Iteration: 6870 Validation loss: 0.041086 Validation acc: 0.986667\n",
      "Epoch: 763/1000 Iteration: 6875 Train loss: 0.017548 Train acc: 0.995000\n",
      "Epoch: 764/1000 Iteration: 6880 Train loss: 0.030701 Train acc: 0.986667\n",
      "Epoch: 764/1000 Iteration: 6880 Validation loss: 0.041368 Validation acc: 0.986667\n",
      "Epoch: 764/1000 Iteration: 6885 Train loss: 0.017101 Train acc: 0.996667\n",
      "Epoch: 765/1000 Iteration: 6890 Train loss: 0.026303 Train acc: 0.988333\n",
      "Epoch: 765/1000 Iteration: 6890 Validation loss: 0.041323 Validation acc: 0.987222\n",
      "Epoch: 766/1000 Iteration: 6895 Train loss: 0.020023 Train acc: 0.991667\n",
      "Epoch: 766/1000 Iteration: 6900 Train loss: 0.018491 Train acc: 0.995000\n",
      "Epoch: 766/1000 Iteration: 6900 Validation loss: 0.041206 Validation acc: 0.987222\n",
      "Epoch: 767/1000 Iteration: 6905 Train loss: 0.009581 Train acc: 0.996667\n",
      "Epoch: 767/1000 Iteration: 6910 Train loss: 0.021950 Train acc: 0.993333\n",
      "Epoch: 767/1000 Iteration: 6910 Validation loss: 0.042421 Validation acc: 0.986111\n",
      "Epoch: 768/1000 Iteration: 6915 Train loss: 0.026585 Train acc: 0.991667\n",
      "Epoch: 768/1000 Iteration: 6920 Train loss: 0.010610 Train acc: 0.998333\n",
      "Epoch: 768/1000 Iteration: 6920 Validation loss: 0.040723 Validation acc: 0.987222\n",
      "Epoch: 769/1000 Iteration: 6925 Train loss: 0.031680 Train acc: 0.988333\n",
      "Epoch: 769/1000 Iteration: 6930 Train loss: 0.018930 Train acc: 0.991667\n",
      "Epoch: 769/1000 Iteration: 6930 Validation loss: 0.040934 Validation acc: 0.987778\n",
      "Epoch: 770/1000 Iteration: 6935 Train loss: 0.020410 Train acc: 0.993333\n",
      "Epoch: 771/1000 Iteration: 6940 Train loss: 0.017359 Train acc: 0.998333\n",
      "Epoch: 771/1000 Iteration: 6940 Validation loss: 0.041218 Validation acc: 0.986111\n",
      "Epoch: 771/1000 Iteration: 6945 Train loss: 0.018852 Train acc: 0.993333\n",
      "Epoch: 772/1000 Iteration: 6950 Train loss: 0.010218 Train acc: 0.996667\n",
      "Epoch: 772/1000 Iteration: 6950 Validation loss: 0.041278 Validation acc: 0.987778\n",
      "Epoch: 772/1000 Iteration: 6955 Train loss: 0.018364 Train acc: 0.993333\n",
      "Epoch: 773/1000 Iteration: 6960 Train loss: 0.031375 Train acc: 0.985000\n",
      "Epoch: 773/1000 Iteration: 6960 Validation loss: 0.041316 Validation acc: 0.987222\n",
      "Epoch: 773/1000 Iteration: 6965 Train loss: 0.011730 Train acc: 0.996667\n",
      "Epoch: 774/1000 Iteration: 6970 Train loss: 0.032097 Train acc: 0.988333\n",
      "Epoch: 774/1000 Iteration: 6970 Validation loss: 0.041484 Validation acc: 0.986111\n",
      "Epoch: 774/1000 Iteration: 6975 Train loss: 0.019548 Train acc: 0.991667\n",
      "Epoch: 775/1000 Iteration: 6980 Train loss: 0.022599 Train acc: 0.990000\n",
      "Epoch: 775/1000 Iteration: 6980 Validation loss: 0.041364 Validation acc: 0.987778\n",
      "Epoch: 776/1000 Iteration: 6985 Train loss: 0.016992 Train acc: 0.996667\n",
      "Epoch: 776/1000 Iteration: 6990 Train loss: 0.021071 Train acc: 0.995000\n",
      "Epoch: 776/1000 Iteration: 6990 Validation loss: 0.040910 Validation acc: 0.988333\n",
      "Epoch: 777/1000 Iteration: 6995 Train loss: 0.010813 Train acc: 0.998333\n",
      "Epoch: 777/1000 Iteration: 7000 Train loss: 0.014435 Train acc: 0.995000\n",
      "Epoch: 777/1000 Iteration: 7000 Validation loss: 0.041194 Validation acc: 0.987778\n",
      "Epoch: 778/1000 Iteration: 7005 Train loss: 0.027675 Train acc: 0.988333\n",
      "Epoch: 778/1000 Iteration: 7010 Train loss: 0.011043 Train acc: 0.996667\n",
      "Epoch: 778/1000 Iteration: 7010 Validation loss: 0.041334 Validation acc: 0.987222\n",
      "Epoch: 779/1000 Iteration: 7015 Train loss: 0.030082 Train acc: 0.986667\n",
      "Epoch: 779/1000 Iteration: 7020 Train loss: 0.016846 Train acc: 0.995000\n",
      "Epoch: 779/1000 Iteration: 7020 Validation loss: 0.041817 Validation acc: 0.986667\n",
      "Epoch: 780/1000 Iteration: 7025 Train loss: 0.025020 Train acc: 0.993333\n",
      "Epoch: 781/1000 Iteration: 7030 Train loss: 0.020416 Train acc: 0.991667\n",
      "Epoch: 781/1000 Iteration: 7030 Validation loss: 0.041631 Validation acc: 0.987222\n",
      "Epoch: 781/1000 Iteration: 7035 Train loss: 0.019070 Train acc: 0.995000\n",
      "Epoch: 782/1000 Iteration: 7040 Train loss: 0.008551 Train acc: 0.998333\n",
      "Epoch: 782/1000 Iteration: 7040 Validation loss: 0.040869 Validation acc: 0.987222\n",
      "Epoch: 782/1000 Iteration: 7045 Train loss: 0.017313 Train acc: 0.995000\n",
      "Epoch: 783/1000 Iteration: 7050 Train loss: 0.026111 Train acc: 0.990000\n",
      "Epoch: 783/1000 Iteration: 7050 Validation loss: 0.040388 Validation acc: 0.988333\n",
      "Epoch: 783/1000 Iteration: 7055 Train loss: 0.012513 Train acc: 0.996667\n",
      "Epoch: 784/1000 Iteration: 7060 Train loss: 0.028997 Train acc: 0.990000\n",
      "Epoch: 784/1000 Iteration: 7060 Validation loss: 0.040799 Validation acc: 0.987222\n",
      "Epoch: 784/1000 Iteration: 7065 Train loss: 0.017782 Train acc: 0.991667\n",
      "Epoch: 785/1000 Iteration: 7070 Train loss: 0.022266 Train acc: 0.991667\n",
      "Epoch: 785/1000 Iteration: 7070 Validation loss: 0.040189 Validation acc: 0.988333\n",
      "Epoch: 786/1000 Iteration: 7075 Train loss: 0.021430 Train acc: 0.993333\n",
      "Epoch: 786/1000 Iteration: 7080 Train loss: 0.013152 Train acc: 0.996667\n",
      "Epoch: 786/1000 Iteration: 7080 Validation loss: 0.040422 Validation acc: 0.988333\n",
      "Epoch: 787/1000 Iteration: 7085 Train loss: 0.009831 Train acc: 0.996667\n",
      "Epoch: 787/1000 Iteration: 7090 Train loss: 0.015418 Train acc: 0.995000\n",
      "Epoch: 787/1000 Iteration: 7090 Validation loss: 0.041953 Validation acc: 0.986667\n",
      "Epoch: 788/1000 Iteration: 7095 Train loss: 0.028391 Train acc: 0.985000\n",
      "Epoch: 788/1000 Iteration: 7100 Train loss: 0.011016 Train acc: 0.996667\n",
      "Epoch: 788/1000 Iteration: 7100 Validation loss: 0.040883 Validation acc: 0.987222\n",
      "Epoch: 789/1000 Iteration: 7105 Train loss: 0.026974 Train acc: 0.990000\n",
      "Epoch: 789/1000 Iteration: 7110 Train loss: 0.019426 Train acc: 0.990000\n",
      "Epoch: 789/1000 Iteration: 7110 Validation loss: 0.040797 Validation acc: 0.987222\n",
      "Epoch: 790/1000 Iteration: 7115 Train loss: 0.027560 Train acc: 0.988333\n",
      "Epoch: 791/1000 Iteration: 7120 Train loss: 0.016623 Train acc: 0.995000\n",
      "Epoch: 791/1000 Iteration: 7120 Validation loss: 0.040766 Validation acc: 0.987222\n",
      "Epoch: 791/1000 Iteration: 7125 Train loss: 0.019768 Train acc: 0.995000\n",
      "Epoch: 792/1000 Iteration: 7130 Train loss: 0.009612 Train acc: 0.998333\n",
      "Epoch: 792/1000 Iteration: 7130 Validation loss: 0.039452 Validation acc: 0.988889\n",
      "Epoch: 792/1000 Iteration: 7135 Train loss: 0.017951 Train acc: 0.995000\n",
      "Epoch: 793/1000 Iteration: 7140 Train loss: 0.023623 Train acc: 0.988333\n",
      "Epoch: 793/1000 Iteration: 7140 Validation loss: 0.039951 Validation acc: 0.988333\n",
      "Epoch: 793/1000 Iteration: 7145 Train loss: 0.013985 Train acc: 0.995000\n",
      "Epoch: 794/1000 Iteration: 7150 Train loss: 0.027037 Train acc: 0.988333\n",
      "Epoch: 794/1000 Iteration: 7150 Validation loss: 0.041197 Validation acc: 0.986667\n",
      "Epoch: 794/1000 Iteration: 7155 Train loss: 0.020725 Train acc: 0.990000\n",
      "Epoch: 795/1000 Iteration: 7160 Train loss: 0.022222 Train acc: 0.993333\n",
      "Epoch: 795/1000 Iteration: 7160 Validation loss: 0.039818 Validation acc: 0.989444\n",
      "Epoch: 796/1000 Iteration: 7165 Train loss: 0.016966 Train acc: 0.995000\n",
      "Epoch: 796/1000 Iteration: 7170 Train loss: 0.017994 Train acc: 0.996667\n",
      "Epoch: 796/1000 Iteration: 7170 Validation loss: 0.040536 Validation acc: 0.986667\n",
      "Epoch: 797/1000 Iteration: 7175 Train loss: 0.008583 Train acc: 0.998333\n",
      "Epoch: 797/1000 Iteration: 7180 Train loss: 0.016082 Train acc: 0.995000\n",
      "Epoch: 797/1000 Iteration: 7180 Validation loss: 0.040773 Validation acc: 0.987222\n",
      "Epoch: 798/1000 Iteration: 7185 Train loss: 0.026652 Train acc: 0.991667\n",
      "Epoch: 798/1000 Iteration: 7190 Train loss: 0.012506 Train acc: 0.998333\n",
      "Epoch: 798/1000 Iteration: 7190 Validation loss: 0.039939 Validation acc: 0.987778\n",
      "Epoch: 799/1000 Iteration: 7195 Train loss: 0.025062 Train acc: 0.990000\n",
      "Epoch: 799/1000 Iteration: 7200 Train loss: 0.018889 Train acc: 0.990000\n",
      "Epoch: 799/1000 Iteration: 7200 Validation loss: 0.040494 Validation acc: 0.987778\n",
      "Epoch: 800/1000 Iteration: 7205 Train loss: 0.022754 Train acc: 0.985000\n",
      "Epoch: 801/1000 Iteration: 7210 Train loss: 0.017508 Train acc: 0.990000\n",
      "Epoch: 801/1000 Iteration: 7210 Validation loss: 0.040042 Validation acc: 0.986667\n",
      "Epoch: 801/1000 Iteration: 7215 Train loss: 0.017726 Train acc: 0.998333\n",
      "Epoch: 802/1000 Iteration: 7220 Train loss: 0.010495 Train acc: 1.000000\n",
      "Epoch: 802/1000 Iteration: 7220 Validation loss: 0.040393 Validation acc: 0.987778\n",
      "Epoch: 802/1000 Iteration: 7225 Train loss: 0.014987 Train acc: 0.995000\n",
      "Epoch: 803/1000 Iteration: 7230 Train loss: 0.022217 Train acc: 0.995000\n",
      "Epoch: 803/1000 Iteration: 7230 Validation loss: 0.039949 Validation acc: 0.987778\n",
      "Epoch: 803/1000 Iteration: 7235 Train loss: 0.011413 Train acc: 0.996667\n",
      "Epoch: 804/1000 Iteration: 7240 Train loss: 0.026870 Train acc: 0.988333\n",
      "Epoch: 804/1000 Iteration: 7240 Validation loss: 0.039435 Validation acc: 0.988889\n",
      "Epoch: 804/1000 Iteration: 7245 Train loss: 0.016050 Train acc: 0.998333\n",
      "Epoch: 805/1000 Iteration: 7250 Train loss: 0.026709 Train acc: 0.990000\n",
      "Epoch: 805/1000 Iteration: 7250 Validation loss: 0.039807 Validation acc: 0.988333\n",
      "Epoch: 806/1000 Iteration: 7255 Train loss: 0.014751 Train acc: 0.995000\n",
      "Epoch: 806/1000 Iteration: 7260 Train loss: 0.016864 Train acc: 0.996667\n",
      "Epoch: 806/1000 Iteration: 7260 Validation loss: 0.039601 Validation acc: 0.989444\n",
      "Epoch: 807/1000 Iteration: 7265 Train loss: 0.008465 Train acc: 0.998333\n",
      "Epoch: 807/1000 Iteration: 7270 Train loss: 0.015376 Train acc: 0.996667\n",
      "Epoch: 807/1000 Iteration: 7270 Validation loss: 0.039693 Validation acc: 0.989444\n",
      "Epoch: 808/1000 Iteration: 7275 Train loss: 0.027009 Train acc: 0.990000\n",
      "Epoch: 808/1000 Iteration: 7280 Train loss: 0.013001 Train acc: 0.995000\n",
      "Epoch: 808/1000 Iteration: 7280 Validation loss: 0.040037 Validation acc: 0.987778\n",
      "Epoch: 809/1000 Iteration: 7285 Train loss: 0.025528 Train acc: 0.991667\n",
      "Epoch: 809/1000 Iteration: 7290 Train loss: 0.016053 Train acc: 0.995000\n",
      "Epoch: 809/1000 Iteration: 7290 Validation loss: 0.040722 Validation acc: 0.987778\n",
      "Epoch: 810/1000 Iteration: 7295 Train loss: 0.022952 Train acc: 0.991667\n",
      "Epoch: 811/1000 Iteration: 7300 Train loss: 0.017487 Train acc: 0.996667\n",
      "Epoch: 811/1000 Iteration: 7300 Validation loss: 0.041237 Validation acc: 0.987778\n",
      "Epoch: 811/1000 Iteration: 7305 Train loss: 0.016049 Train acc: 0.995000\n",
      "Epoch: 812/1000 Iteration: 7310 Train loss: 0.009787 Train acc: 0.998333\n",
      "Epoch: 812/1000 Iteration: 7310 Validation loss: 0.040240 Validation acc: 0.988889\n",
      "Epoch: 812/1000 Iteration: 7315 Train loss: 0.014228 Train acc: 0.995000\n",
      "Epoch: 813/1000 Iteration: 7320 Train loss: 0.024580 Train acc: 0.991667\n",
      "Epoch: 813/1000 Iteration: 7320 Validation loss: 0.039748 Validation acc: 0.987778\n",
      "Epoch: 813/1000 Iteration: 7325 Train loss: 0.011408 Train acc: 0.996667\n",
      "Epoch: 814/1000 Iteration: 7330 Train loss: 0.026965 Train acc: 0.990000\n",
      "Epoch: 814/1000 Iteration: 7330 Validation loss: 0.038799 Validation acc: 0.990556\n",
      "Epoch: 814/1000 Iteration: 7335 Train loss: 0.017383 Train acc: 0.993333\n",
      "Epoch: 815/1000 Iteration: 7340 Train loss: 0.017999 Train acc: 0.995000\n",
      "Epoch: 815/1000 Iteration: 7340 Validation loss: 0.040438 Validation acc: 0.988889\n",
      "Epoch: 816/1000 Iteration: 7345 Train loss: 0.016632 Train acc: 0.995000\n",
      "Epoch: 816/1000 Iteration: 7350 Train loss: 0.013930 Train acc: 0.996667\n",
      "Epoch: 816/1000 Iteration: 7350 Validation loss: 0.039343 Validation acc: 0.987778\n",
      "Epoch: 817/1000 Iteration: 7355 Train loss: 0.008628 Train acc: 0.998333\n",
      "Epoch: 817/1000 Iteration: 7360 Train loss: 0.016167 Train acc: 0.995000\n",
      "Epoch: 817/1000 Iteration: 7360 Validation loss: 0.039670 Validation acc: 0.987222\n",
      "Epoch: 818/1000 Iteration: 7365 Train loss: 0.024543 Train acc: 0.991667\n",
      "Epoch: 818/1000 Iteration: 7370 Train loss: 0.011298 Train acc: 0.998333\n",
      "Epoch: 818/1000 Iteration: 7370 Validation loss: 0.041603 Validation acc: 0.986667\n",
      "Epoch: 819/1000 Iteration: 7375 Train loss: 0.027088 Train acc: 0.991667\n",
      "Epoch: 819/1000 Iteration: 7380 Train loss: 0.016761 Train acc: 0.996667\n",
      "Epoch: 819/1000 Iteration: 7380 Validation loss: 0.040445 Validation acc: 0.986667\n",
      "Epoch: 820/1000 Iteration: 7385 Train loss: 0.023089 Train acc: 0.991667\n",
      "Epoch: 821/1000 Iteration: 7390 Train loss: 0.018944 Train acc: 0.995000\n",
      "Epoch: 821/1000 Iteration: 7390 Validation loss: 0.038542 Validation acc: 0.989444\n",
      "Epoch: 821/1000 Iteration: 7395 Train loss: 0.016603 Train acc: 0.998333\n",
      "Epoch: 822/1000 Iteration: 7400 Train loss: 0.008968 Train acc: 0.998333\n",
      "Epoch: 822/1000 Iteration: 7400 Validation loss: 0.039979 Validation acc: 0.988889\n",
      "Epoch: 822/1000 Iteration: 7405 Train loss: 0.015106 Train acc: 0.995000\n",
      "Epoch: 823/1000 Iteration: 7410 Train loss: 0.024040 Train acc: 0.993333\n",
      "Epoch: 823/1000 Iteration: 7410 Validation loss: 0.039717 Validation acc: 0.989444\n",
      "Epoch: 823/1000 Iteration: 7415 Train loss: 0.013781 Train acc: 0.993333\n",
      "Epoch: 824/1000 Iteration: 7420 Train loss: 0.026579 Train acc: 0.990000\n",
      "Epoch: 824/1000 Iteration: 7420 Validation loss: 0.039265 Validation acc: 0.989444\n",
      "Epoch: 824/1000 Iteration: 7425 Train loss: 0.016234 Train acc: 0.995000\n",
      "Epoch: 825/1000 Iteration: 7430 Train loss: 0.018650 Train acc: 0.990000\n",
      "Epoch: 825/1000 Iteration: 7430 Validation loss: 0.039388 Validation acc: 0.988889\n",
      "Epoch: 826/1000 Iteration: 7435 Train loss: 0.013677 Train acc: 0.998333\n",
      "Epoch: 826/1000 Iteration: 7440 Train loss: 0.015884 Train acc: 0.996667\n",
      "Epoch: 826/1000 Iteration: 7440 Validation loss: 0.039932 Validation acc: 0.988333\n",
      "Epoch: 827/1000 Iteration: 7445 Train loss: 0.009107 Train acc: 0.996667\n",
      "Epoch: 827/1000 Iteration: 7450 Train loss: 0.015368 Train acc: 0.996667\n",
      "Epoch: 827/1000 Iteration: 7450 Validation loss: 0.039647 Validation acc: 0.989444\n",
      "Epoch: 828/1000 Iteration: 7455 Train loss: 0.021997 Train acc: 0.991667\n",
      "Epoch: 828/1000 Iteration: 7460 Train loss: 0.012049 Train acc: 0.995000\n",
      "Epoch: 828/1000 Iteration: 7460 Validation loss: 0.039596 Validation acc: 0.987778\n",
      "Epoch: 829/1000 Iteration: 7465 Train loss: 0.022009 Train acc: 0.993333\n",
      "Epoch: 829/1000 Iteration: 7470 Train loss: 0.016024 Train acc: 0.995000\n",
      "Epoch: 829/1000 Iteration: 7470 Validation loss: 0.039547 Validation acc: 0.987778\n",
      "Epoch: 830/1000 Iteration: 7475 Train loss: 0.022038 Train acc: 0.993333\n",
      "Epoch: 831/1000 Iteration: 7480 Train loss: 0.019211 Train acc: 0.991667\n",
      "Epoch: 831/1000 Iteration: 7480 Validation loss: 0.039763 Validation acc: 0.987778\n",
      "Epoch: 831/1000 Iteration: 7485 Train loss: 0.016064 Train acc: 0.996667\n",
      "Epoch: 832/1000 Iteration: 7490 Train loss: 0.007576 Train acc: 0.998333\n",
      "Epoch: 832/1000 Iteration: 7490 Validation loss: 0.040145 Validation acc: 0.988333\n",
      "Epoch: 832/1000 Iteration: 7495 Train loss: 0.015778 Train acc: 0.993333\n",
      "Epoch: 833/1000 Iteration: 7500 Train loss: 0.024900 Train acc: 0.988333\n",
      "Epoch: 833/1000 Iteration: 7500 Validation loss: 0.039834 Validation acc: 0.988889\n",
      "Epoch: 833/1000 Iteration: 7505 Train loss: 0.013010 Train acc: 0.991667\n",
      "Epoch: 834/1000 Iteration: 7510 Train loss: 0.023625 Train acc: 0.991667\n",
      "Epoch: 834/1000 Iteration: 7510 Validation loss: 0.040215 Validation acc: 0.987778\n",
      "Epoch: 834/1000 Iteration: 7515 Train loss: 0.013870 Train acc: 0.996667\n",
      "Epoch: 835/1000 Iteration: 7520 Train loss: 0.019396 Train acc: 0.993333\n",
      "Epoch: 835/1000 Iteration: 7520 Validation loss: 0.039585 Validation acc: 0.989444\n",
      "Epoch: 836/1000 Iteration: 7525 Train loss: 0.013495 Train acc: 0.998333\n",
      "Epoch: 836/1000 Iteration: 7530 Train loss: 0.013129 Train acc: 0.996667\n",
      "Epoch: 836/1000 Iteration: 7530 Validation loss: 0.039090 Validation acc: 0.987778\n",
      "Epoch: 837/1000 Iteration: 7535 Train loss: 0.008162 Train acc: 0.996667\n",
      "Epoch: 837/1000 Iteration: 7540 Train loss: 0.016119 Train acc: 0.996667\n",
      "Epoch: 837/1000 Iteration: 7540 Validation loss: 0.039949 Validation acc: 0.987778\n",
      "Epoch: 838/1000 Iteration: 7545 Train loss: 0.025056 Train acc: 0.990000\n",
      "Epoch: 838/1000 Iteration: 7550 Train loss: 0.011540 Train acc: 0.995000\n",
      "Epoch: 838/1000 Iteration: 7550 Validation loss: 0.039965 Validation acc: 0.987778\n",
      "Epoch: 839/1000 Iteration: 7555 Train loss: 0.020189 Train acc: 0.991667\n",
      "Epoch: 839/1000 Iteration: 7560 Train loss: 0.013744 Train acc: 1.000000\n",
      "Epoch: 839/1000 Iteration: 7560 Validation loss: 0.040285 Validation acc: 0.987778\n",
      "Epoch: 840/1000 Iteration: 7565 Train loss: 0.024701 Train acc: 0.988333\n",
      "Epoch: 841/1000 Iteration: 7570 Train loss: 0.016931 Train acc: 0.996667\n",
      "Epoch: 841/1000 Iteration: 7570 Validation loss: 0.040437 Validation acc: 0.987778\n",
      "Epoch: 841/1000 Iteration: 7575 Train loss: 0.018377 Train acc: 0.995000\n",
      "Epoch: 842/1000 Iteration: 7580 Train loss: 0.007433 Train acc: 0.998333\n",
      "Epoch: 842/1000 Iteration: 7580 Validation loss: 0.039152 Validation acc: 0.989444\n",
      "Epoch: 842/1000 Iteration: 7585 Train loss: 0.015137 Train acc: 0.996667\n",
      "Epoch: 843/1000 Iteration: 7590 Train loss: 0.019163 Train acc: 0.995000\n",
      "Epoch: 843/1000 Iteration: 7590 Validation loss: 0.039519 Validation acc: 0.989444\n",
      "Epoch: 843/1000 Iteration: 7595 Train loss: 0.009759 Train acc: 0.996667\n",
      "Epoch: 844/1000 Iteration: 7600 Train loss: 0.023116 Train acc: 0.988333\n",
      "Epoch: 844/1000 Iteration: 7600 Validation loss: 0.039206 Validation acc: 0.988333\n",
      "Epoch: 844/1000 Iteration: 7605 Train loss: 0.017943 Train acc: 0.993333\n",
      "Epoch: 845/1000 Iteration: 7610 Train loss: 0.020619 Train acc: 0.991667\n",
      "Epoch: 845/1000 Iteration: 7610 Validation loss: 0.038527 Validation acc: 0.989444\n",
      "Epoch: 846/1000 Iteration: 7615 Train loss: 0.014314 Train acc: 0.996667\n",
      "Epoch: 846/1000 Iteration: 7620 Train loss: 0.013732 Train acc: 0.998333\n",
      "Epoch: 846/1000 Iteration: 7620 Validation loss: 0.039049 Validation acc: 0.988333\n",
      "Epoch: 847/1000 Iteration: 7625 Train loss: 0.007865 Train acc: 0.995000\n",
      "Epoch: 847/1000 Iteration: 7630 Train loss: 0.013033 Train acc: 0.998333\n",
      "Epoch: 847/1000 Iteration: 7630 Validation loss: 0.039487 Validation acc: 0.987778\n",
      "Epoch: 848/1000 Iteration: 7635 Train loss: 0.020732 Train acc: 0.991667\n",
      "Epoch: 848/1000 Iteration: 7640 Train loss: 0.010589 Train acc: 0.996667\n",
      "Epoch: 848/1000 Iteration: 7640 Validation loss: 0.038793 Validation acc: 0.988333\n",
      "Epoch: 849/1000 Iteration: 7645 Train loss: 0.023720 Train acc: 0.991667\n",
      "Epoch: 849/1000 Iteration: 7650 Train loss: 0.014800 Train acc: 0.995000\n",
      "Epoch: 849/1000 Iteration: 7650 Validation loss: 0.038665 Validation acc: 0.988333\n",
      "Epoch: 850/1000 Iteration: 7655 Train loss: 0.022155 Train acc: 0.993333\n",
      "Epoch: 851/1000 Iteration: 7660 Train loss: 0.016073 Train acc: 0.996667\n",
      "Epoch: 851/1000 Iteration: 7660 Validation loss: 0.038882 Validation acc: 0.987778\n",
      "Epoch: 851/1000 Iteration: 7665 Train loss: 0.013533 Train acc: 0.996667\n",
      "Epoch: 852/1000 Iteration: 7670 Train loss: 0.006922 Train acc: 0.998333\n",
      "Epoch: 852/1000 Iteration: 7670 Validation loss: 0.038870 Validation acc: 0.987778\n",
      "Epoch: 852/1000 Iteration: 7675 Train loss: 0.015468 Train acc: 0.995000\n",
      "Epoch: 853/1000 Iteration: 7680 Train loss: 0.022095 Train acc: 0.993333\n",
      "Epoch: 853/1000 Iteration: 7680 Validation loss: 0.040073 Validation acc: 0.988333\n",
      "Epoch: 853/1000 Iteration: 7685 Train loss: 0.009204 Train acc: 0.996667\n",
      "Epoch: 854/1000 Iteration: 7690 Train loss: 0.024524 Train acc: 0.990000\n",
      "Epoch: 854/1000 Iteration: 7690 Validation loss: 0.038599 Validation acc: 0.990000\n",
      "Epoch: 854/1000 Iteration: 7695 Train loss: 0.015681 Train acc: 0.995000\n",
      "Epoch: 855/1000 Iteration: 7700 Train loss: 0.021340 Train acc: 0.990000\n",
      "Epoch: 855/1000 Iteration: 7700 Validation loss: 0.039237 Validation acc: 0.987778\n",
      "Epoch: 856/1000 Iteration: 7705 Train loss: 0.014519 Train acc: 0.998333\n",
      "Epoch: 856/1000 Iteration: 7710 Train loss: 0.013969 Train acc: 0.998333\n",
      "Epoch: 856/1000 Iteration: 7710 Validation loss: 0.038426 Validation acc: 0.988889\n",
      "Epoch: 857/1000 Iteration: 7715 Train loss: 0.007247 Train acc: 0.998333\n",
      "Epoch: 857/1000 Iteration: 7720 Train loss: 0.013698 Train acc: 0.996667\n",
      "Epoch: 857/1000 Iteration: 7720 Validation loss: 0.039457 Validation acc: 0.987778\n",
      "Epoch: 858/1000 Iteration: 7725 Train loss: 0.023614 Train acc: 0.988333\n",
      "Epoch: 858/1000 Iteration: 7730 Train loss: 0.011432 Train acc: 0.995000\n",
      "Epoch: 858/1000 Iteration: 7730 Validation loss: 0.039893 Validation acc: 0.987222\n",
      "Epoch: 859/1000 Iteration: 7735 Train loss: 0.022896 Train acc: 0.991667\n",
      "Epoch: 859/1000 Iteration: 7740 Train loss: 0.013673 Train acc: 0.996667\n",
      "Epoch: 859/1000 Iteration: 7740 Validation loss: 0.040039 Validation acc: 0.987778\n",
      "Epoch: 860/1000 Iteration: 7745 Train loss: 0.020010 Train acc: 0.991667\n",
      "Epoch: 861/1000 Iteration: 7750 Train loss: 0.015949 Train acc: 0.993333\n",
      "Epoch: 861/1000 Iteration: 7750 Validation loss: 0.039455 Validation acc: 0.987222\n",
      "Epoch: 861/1000 Iteration: 7755 Train loss: 0.017191 Train acc: 0.991667\n",
      "Epoch: 862/1000 Iteration: 7760 Train loss: 0.007535 Train acc: 0.998333\n",
      "Epoch: 862/1000 Iteration: 7760 Validation loss: 0.038658 Validation acc: 0.987778\n",
      "Epoch: 862/1000 Iteration: 7765 Train loss: 0.014930 Train acc: 0.993333\n",
      "Epoch: 863/1000 Iteration: 7770 Train loss: 0.024085 Train acc: 0.993333\n",
      "Epoch: 863/1000 Iteration: 7770 Validation loss: 0.037794 Validation acc: 0.988889\n",
      "Epoch: 863/1000 Iteration: 7775 Train loss: 0.009782 Train acc: 0.998333\n",
      "Epoch: 864/1000 Iteration: 7780 Train loss: 0.020256 Train acc: 0.990000\n",
      "Epoch: 864/1000 Iteration: 7780 Validation loss: 0.038408 Validation acc: 0.988889\n",
      "Epoch: 864/1000 Iteration: 7785 Train loss: 0.013898 Train acc: 0.996667\n",
      "Epoch: 865/1000 Iteration: 7790 Train loss: 0.020741 Train acc: 0.991667\n",
      "Epoch: 865/1000 Iteration: 7790 Validation loss: 0.037941 Validation acc: 0.989444\n",
      "Epoch: 866/1000 Iteration: 7795 Train loss: 0.015041 Train acc: 0.996667\n",
      "Epoch: 866/1000 Iteration: 7800 Train loss: 0.012309 Train acc: 0.996667\n",
      "Epoch: 866/1000 Iteration: 7800 Validation loss: 0.039312 Validation acc: 0.987778\n",
      "Epoch: 867/1000 Iteration: 7805 Train loss: 0.007047 Train acc: 1.000000\n",
      "Epoch: 867/1000 Iteration: 7810 Train loss: 0.013024 Train acc: 0.996667\n",
      "Epoch: 867/1000 Iteration: 7810 Validation loss: 0.038534 Validation acc: 0.988333\n",
      "Epoch: 868/1000 Iteration: 7815 Train loss: 0.019926 Train acc: 0.993333\n",
      "Epoch: 868/1000 Iteration: 7820 Train loss: 0.008358 Train acc: 0.998333\n",
      "Epoch: 868/1000 Iteration: 7820 Validation loss: 0.037417 Validation acc: 0.988889\n",
      "Epoch: 869/1000 Iteration: 7825 Train loss: 0.021433 Train acc: 0.995000\n",
      "Epoch: 869/1000 Iteration: 7830 Train loss: 0.015449 Train acc: 0.995000\n",
      "Epoch: 869/1000 Iteration: 7830 Validation loss: 0.038825 Validation acc: 0.988889\n",
      "Epoch: 870/1000 Iteration: 7835 Train loss: 0.017318 Train acc: 0.991667\n",
      "Epoch: 871/1000 Iteration: 7840 Train loss: 0.014029 Train acc: 0.998333\n",
      "Epoch: 871/1000 Iteration: 7840 Validation loss: 0.038422 Validation acc: 0.989444\n",
      "Epoch: 871/1000 Iteration: 7845 Train loss: 0.020936 Train acc: 0.991667\n",
      "Epoch: 872/1000 Iteration: 7850 Train loss: 0.007016 Train acc: 0.998333\n",
      "Epoch: 872/1000 Iteration: 7850 Validation loss: 0.038582 Validation acc: 0.988889\n",
      "Epoch: 872/1000 Iteration: 7855 Train loss: 0.015820 Train acc: 0.995000\n",
      "Epoch: 873/1000 Iteration: 7860 Train loss: 0.022174 Train acc: 0.993333\n",
      "Epoch: 873/1000 Iteration: 7860 Validation loss: 0.038195 Validation acc: 0.989444\n",
      "Epoch: 873/1000 Iteration: 7865 Train loss: 0.009644 Train acc: 0.996667\n",
      "Epoch: 874/1000 Iteration: 7870 Train loss: 0.022910 Train acc: 0.990000\n",
      "Epoch: 874/1000 Iteration: 7870 Validation loss: 0.038395 Validation acc: 0.989444\n",
      "Epoch: 874/1000 Iteration: 7875 Train loss: 0.010701 Train acc: 0.998333\n",
      "Epoch: 875/1000 Iteration: 7880 Train loss: 0.021831 Train acc: 0.993333\n",
      "Epoch: 875/1000 Iteration: 7880 Validation loss: 0.038723 Validation acc: 0.988889\n",
      "Epoch: 876/1000 Iteration: 7885 Train loss: 0.012472 Train acc: 0.995000\n",
      "Epoch: 876/1000 Iteration: 7890 Train loss: 0.011452 Train acc: 0.996667\n",
      "Epoch: 876/1000 Iteration: 7890 Validation loss: 0.037415 Validation acc: 0.990000\n",
      "Epoch: 877/1000 Iteration: 7895 Train loss: 0.006966 Train acc: 0.998333\n",
      "Epoch: 877/1000 Iteration: 7900 Train loss: 0.013323 Train acc: 0.995000\n",
      "Epoch: 877/1000 Iteration: 7900 Validation loss: 0.038033 Validation acc: 0.988889\n",
      "Epoch: 878/1000 Iteration: 7905 Train loss: 0.019390 Train acc: 0.995000\n",
      "Epoch: 878/1000 Iteration: 7910 Train loss: 0.011585 Train acc: 0.995000\n",
      "Epoch: 878/1000 Iteration: 7910 Validation loss: 0.037542 Validation acc: 0.990000\n",
      "Epoch: 879/1000 Iteration: 7915 Train loss: 0.018549 Train acc: 0.993333\n",
      "Epoch: 879/1000 Iteration: 7920 Train loss: 0.015292 Train acc: 0.995000\n",
      "Epoch: 879/1000 Iteration: 7920 Validation loss: 0.038262 Validation acc: 0.989444\n",
      "Epoch: 880/1000 Iteration: 7925 Train loss: 0.020971 Train acc: 0.993333\n",
      "Epoch: 881/1000 Iteration: 7930 Train loss: 0.014938 Train acc: 0.998333\n",
      "Epoch: 881/1000 Iteration: 7930 Validation loss: 0.037860 Validation acc: 0.989444\n",
      "Epoch: 881/1000 Iteration: 7935 Train loss: 0.013077 Train acc: 0.996667\n",
      "Epoch: 882/1000 Iteration: 7940 Train loss: 0.006143 Train acc: 1.000000\n",
      "Epoch: 882/1000 Iteration: 7940 Validation loss: 0.037745 Validation acc: 0.988889\n",
      "Epoch: 882/1000 Iteration: 7945 Train loss: 0.012024 Train acc: 0.998333\n",
      "Epoch: 883/1000 Iteration: 7950 Train loss: 0.023403 Train acc: 0.990000\n",
      "Epoch: 883/1000 Iteration: 7950 Validation loss: 0.038127 Validation acc: 0.990556\n",
      "Epoch: 883/1000 Iteration: 7955 Train loss: 0.009910 Train acc: 0.996667\n",
      "Epoch: 884/1000 Iteration: 7960 Train loss: 0.020179 Train acc: 0.991667\n",
      "Epoch: 884/1000 Iteration: 7960 Validation loss: 0.038858 Validation acc: 0.989444\n",
      "Epoch: 884/1000 Iteration: 7965 Train loss: 0.014247 Train acc: 0.996667\n",
      "Epoch: 885/1000 Iteration: 7970 Train loss: 0.020392 Train acc: 0.993333\n",
      "Epoch: 885/1000 Iteration: 7970 Validation loss: 0.038007 Validation acc: 0.989444\n",
      "Epoch: 886/1000 Iteration: 7975 Train loss: 0.013712 Train acc: 0.998333\n",
      "Epoch: 886/1000 Iteration: 7980 Train loss: 0.014143 Train acc: 0.995000\n",
      "Epoch: 886/1000 Iteration: 7980 Validation loss: 0.038302 Validation acc: 0.989444\n",
      "Epoch: 887/1000 Iteration: 7985 Train loss: 0.008366 Train acc: 0.996667\n",
      "Epoch: 887/1000 Iteration: 7990 Train loss: 0.012740 Train acc: 0.996667\n",
      "Epoch: 887/1000 Iteration: 7990 Validation loss: 0.037151 Validation acc: 0.991111\n",
      "Epoch: 888/1000 Iteration: 7995 Train loss: 0.017569 Train acc: 0.993333\n",
      "Epoch: 888/1000 Iteration: 8000 Train loss: 0.011325 Train acc: 0.996667\n",
      "Epoch: 888/1000 Iteration: 8000 Validation loss: 0.037257 Validation acc: 0.989444\n",
      "Epoch: 889/1000 Iteration: 8005 Train loss: 0.018591 Train acc: 0.990000\n",
      "Epoch: 889/1000 Iteration: 8010 Train loss: 0.012642 Train acc: 0.998333\n",
      "Epoch: 889/1000 Iteration: 8010 Validation loss: 0.037943 Validation acc: 0.988333\n",
      "Epoch: 890/1000 Iteration: 8015 Train loss: 0.016509 Train acc: 0.995000\n",
      "Epoch: 891/1000 Iteration: 8020 Train loss: 0.011839 Train acc: 0.998333\n",
      "Epoch: 891/1000 Iteration: 8020 Validation loss: 0.037345 Validation acc: 0.988889\n",
      "Epoch: 891/1000 Iteration: 8025 Train loss: 0.014015 Train acc: 0.995000\n",
      "Epoch: 892/1000 Iteration: 8030 Train loss: 0.007971 Train acc: 0.996667\n",
      "Epoch: 892/1000 Iteration: 8030 Validation loss: 0.037302 Validation acc: 0.990000\n",
      "Epoch: 892/1000 Iteration: 8035 Train loss: 0.012317 Train acc: 0.998333\n",
      "Epoch: 893/1000 Iteration: 8040 Train loss: 0.017774 Train acc: 0.993333\n",
      "Epoch: 893/1000 Iteration: 8040 Validation loss: 0.039174 Validation acc: 0.988889\n",
      "Epoch: 893/1000 Iteration: 8045 Train loss: 0.009272 Train acc: 0.996667\n",
      "Epoch: 894/1000 Iteration: 8050 Train loss: 0.019400 Train acc: 0.988333\n",
      "Epoch: 894/1000 Iteration: 8050 Validation loss: 0.038895 Validation acc: 0.990000\n",
      "Epoch: 894/1000 Iteration: 8055 Train loss: 0.015889 Train acc: 0.991667\n",
      "Epoch: 895/1000 Iteration: 8060 Train loss: 0.019799 Train acc: 0.993333\n",
      "Epoch: 895/1000 Iteration: 8060 Validation loss: 0.038481 Validation acc: 0.988889\n",
      "Epoch: 896/1000 Iteration: 8065 Train loss: 0.012756 Train acc: 0.998333\n",
      "Epoch: 896/1000 Iteration: 8070 Train loss: 0.013204 Train acc: 0.995000\n",
      "Epoch: 896/1000 Iteration: 8070 Validation loss: 0.036984 Validation acc: 0.990000\n",
      "Epoch: 897/1000 Iteration: 8075 Train loss: 0.006957 Train acc: 1.000000\n",
      "Epoch: 897/1000 Iteration: 8080 Train loss: 0.011910 Train acc: 0.998333\n",
      "Epoch: 897/1000 Iteration: 8080 Validation loss: 0.037037 Validation acc: 0.989444\n",
      "Epoch: 898/1000 Iteration: 8085 Train loss: 0.020891 Train acc: 0.991667\n",
      "Epoch: 898/1000 Iteration: 8090 Train loss: 0.009565 Train acc: 0.996667\n",
      "Epoch: 898/1000 Iteration: 8090 Validation loss: 0.037528 Validation acc: 0.988333\n",
      "Epoch: 899/1000 Iteration: 8095 Train loss: 0.016931 Train acc: 0.995000\n",
      "Epoch: 899/1000 Iteration: 8100 Train loss: 0.014294 Train acc: 0.996667\n",
      "Epoch: 899/1000 Iteration: 8100 Validation loss: 0.038018 Validation acc: 0.988333\n",
      "Epoch: 900/1000 Iteration: 8105 Train loss: 0.015727 Train acc: 0.996667\n",
      "Epoch: 901/1000 Iteration: 8110 Train loss: 0.012849 Train acc: 0.996667\n",
      "Epoch: 901/1000 Iteration: 8110 Validation loss: 0.037729 Validation acc: 0.988333\n",
      "Epoch: 901/1000 Iteration: 8115 Train loss: 0.012611 Train acc: 0.996667\n",
      "Epoch: 902/1000 Iteration: 8120 Train loss: 0.007633 Train acc: 0.998333\n",
      "Epoch: 902/1000 Iteration: 8120 Validation loss: 0.037167 Validation acc: 0.990000\n",
      "Epoch: 902/1000 Iteration: 8125 Train loss: 0.012449 Train acc: 0.996667\n",
      "Epoch: 903/1000 Iteration: 8130 Train loss: 0.018562 Train acc: 0.993333\n",
      "Epoch: 903/1000 Iteration: 8130 Validation loss: 0.038020 Validation acc: 0.989444\n",
      "Epoch: 903/1000 Iteration: 8135 Train loss: 0.007797 Train acc: 0.998333\n",
      "Epoch: 904/1000 Iteration: 8140 Train loss: 0.017874 Train acc: 0.993333\n",
      "Epoch: 904/1000 Iteration: 8140 Validation loss: 0.037196 Validation acc: 0.989444\n",
      "Epoch: 904/1000 Iteration: 8145 Train loss: 0.015010 Train acc: 0.993333\n",
      "Epoch: 905/1000 Iteration: 8150 Train loss: 0.017226 Train acc: 0.995000\n",
      "Epoch: 905/1000 Iteration: 8150 Validation loss: 0.037491 Validation acc: 0.989444\n",
      "Epoch: 906/1000 Iteration: 8155 Train loss: 0.012239 Train acc: 0.998333\n",
      "Epoch: 906/1000 Iteration: 8160 Train loss: 0.011908 Train acc: 0.998333\n",
      "Epoch: 906/1000 Iteration: 8160 Validation loss: 0.038286 Validation acc: 0.988333\n",
      "Epoch: 907/1000 Iteration: 8165 Train loss: 0.006735 Train acc: 0.998333\n",
      "Epoch: 907/1000 Iteration: 8170 Train loss: 0.011906 Train acc: 0.996667\n",
      "Epoch: 907/1000 Iteration: 8170 Validation loss: 0.038973 Validation acc: 0.988333\n",
      "Epoch: 908/1000 Iteration: 8175 Train loss: 0.019460 Train acc: 0.993333\n",
      "Epoch: 908/1000 Iteration: 8180 Train loss: 0.009138 Train acc: 0.998333\n",
      "Epoch: 908/1000 Iteration: 8180 Validation loss: 0.038232 Validation acc: 0.988333\n",
      "Epoch: 909/1000 Iteration: 8185 Train loss: 0.019567 Train acc: 0.996667\n",
      "Epoch: 909/1000 Iteration: 8190 Train loss: 0.011827 Train acc: 1.000000\n",
      "Epoch: 909/1000 Iteration: 8190 Validation loss: 0.037185 Validation acc: 0.989444\n",
      "Epoch: 910/1000 Iteration: 8195 Train loss: 0.017510 Train acc: 0.991667\n",
      "Epoch: 911/1000 Iteration: 8200 Train loss: 0.009571 Train acc: 1.000000\n",
      "Epoch: 911/1000 Iteration: 8200 Validation loss: 0.037082 Validation acc: 0.988889\n",
      "Epoch: 911/1000 Iteration: 8205 Train loss: 0.009627 Train acc: 0.998333\n",
      "Epoch: 912/1000 Iteration: 8210 Train loss: 0.006583 Train acc: 0.998333\n",
      "Epoch: 912/1000 Iteration: 8210 Validation loss: 0.036876 Validation acc: 0.990556\n",
      "Epoch: 912/1000 Iteration: 8215 Train loss: 0.013559 Train acc: 0.996667\n",
      "Epoch: 913/1000 Iteration: 8220 Train loss: 0.017919 Train acc: 0.995000\n",
      "Epoch: 913/1000 Iteration: 8220 Validation loss: 0.037498 Validation acc: 0.989444\n",
      "Epoch: 913/1000 Iteration: 8225 Train loss: 0.009985 Train acc: 1.000000\n",
      "Epoch: 914/1000 Iteration: 8230 Train loss: 0.017839 Train acc: 0.991667\n",
      "Epoch: 914/1000 Iteration: 8230 Validation loss: 0.036601 Validation acc: 0.990556\n",
      "Epoch: 914/1000 Iteration: 8235 Train loss: 0.011956 Train acc: 0.996667\n",
      "Epoch: 915/1000 Iteration: 8240 Train loss: 0.019487 Train acc: 0.995000\n",
      "Epoch: 915/1000 Iteration: 8240 Validation loss: 0.037326 Validation acc: 0.989444\n",
      "Epoch: 916/1000 Iteration: 8245 Train loss: 0.011451 Train acc: 0.998333\n",
      "Epoch: 916/1000 Iteration: 8250 Train loss: 0.014761 Train acc: 0.993333\n",
      "Epoch: 916/1000 Iteration: 8250 Validation loss: 0.037576 Validation acc: 0.990556\n",
      "Epoch: 917/1000 Iteration: 8255 Train loss: 0.007253 Train acc: 0.996667\n",
      "Epoch: 917/1000 Iteration: 8260 Train loss: 0.010258 Train acc: 0.996667\n",
      "Epoch: 917/1000 Iteration: 8260 Validation loss: 0.037996 Validation acc: 0.988333\n",
      "Epoch: 918/1000 Iteration: 8265 Train loss: 0.015795 Train acc: 0.995000\n",
      "Epoch: 918/1000 Iteration: 8270 Train loss: 0.008611 Train acc: 0.998333\n",
      "Epoch: 918/1000 Iteration: 8270 Validation loss: 0.037307 Validation acc: 0.988889\n",
      "Epoch: 919/1000 Iteration: 8275 Train loss: 0.016999 Train acc: 0.996667\n",
      "Epoch: 919/1000 Iteration: 8280 Train loss: 0.013506 Train acc: 0.995000\n",
      "Epoch: 919/1000 Iteration: 8280 Validation loss: 0.036498 Validation acc: 0.989444\n",
      "Epoch: 920/1000 Iteration: 8285 Train loss: 0.014960 Train acc: 0.996667\n",
      "Epoch: 921/1000 Iteration: 8290 Train loss: 0.009831 Train acc: 1.000000\n",
      "Epoch: 921/1000 Iteration: 8290 Validation loss: 0.036665 Validation acc: 0.990000\n",
      "Epoch: 921/1000 Iteration: 8295 Train loss: 0.011527 Train acc: 0.998333\n",
      "Epoch: 922/1000 Iteration: 8300 Train loss: 0.010269 Train acc: 0.996667\n",
      "Epoch: 922/1000 Iteration: 8300 Validation loss: 0.036789 Validation acc: 0.990556\n",
      "Epoch: 922/1000 Iteration: 8305 Train loss: 0.011864 Train acc: 0.996667\n",
      "Epoch: 923/1000 Iteration: 8310 Train loss: 0.017342 Train acc: 0.993333\n",
      "Epoch: 923/1000 Iteration: 8310 Validation loss: 0.036895 Validation acc: 0.989444\n",
      "Epoch: 923/1000 Iteration: 8315 Train loss: 0.008408 Train acc: 0.998333\n",
      "Epoch: 924/1000 Iteration: 8320 Train loss: 0.017435 Train acc: 0.993333\n",
      "Epoch: 924/1000 Iteration: 8320 Validation loss: 0.037155 Validation acc: 0.989444\n",
      "Epoch: 924/1000 Iteration: 8325 Train loss: 0.012524 Train acc: 0.998333\n",
      "Epoch: 925/1000 Iteration: 8330 Train loss: 0.020634 Train acc: 0.991667\n",
      "Epoch: 925/1000 Iteration: 8330 Validation loss: 0.036748 Validation acc: 0.990000\n",
      "Epoch: 926/1000 Iteration: 8335 Train loss: 0.011729 Train acc: 0.996667\n",
      "Epoch: 926/1000 Iteration: 8340 Train loss: 0.011458 Train acc: 0.998333\n",
      "Epoch: 926/1000 Iteration: 8340 Validation loss: 0.036452 Validation acc: 0.990556\n",
      "Epoch: 927/1000 Iteration: 8345 Train loss: 0.006666 Train acc: 0.996667\n",
      "Epoch: 927/1000 Iteration: 8350 Train loss: 0.014460 Train acc: 0.996667\n",
      "Epoch: 927/1000 Iteration: 8350 Validation loss: 0.037359 Validation acc: 0.989444\n",
      "Epoch: 928/1000 Iteration: 8355 Train loss: 0.014803 Train acc: 0.996667\n",
      "Epoch: 928/1000 Iteration: 8360 Train loss: 0.007126 Train acc: 1.000000\n",
      "Epoch: 928/1000 Iteration: 8360 Validation loss: 0.038341 Validation acc: 0.989444\n",
      "Epoch: 929/1000 Iteration: 8365 Train loss: 0.017404 Train acc: 0.993333\n",
      "Epoch: 929/1000 Iteration: 8370 Train loss: 0.013289 Train acc: 0.998333\n",
      "Epoch: 929/1000 Iteration: 8370 Validation loss: 0.038631 Validation acc: 0.988333\n",
      "Epoch: 930/1000 Iteration: 8375 Train loss: 0.016077 Train acc: 0.995000\n",
      "Epoch: 931/1000 Iteration: 8380 Train loss: 0.010988 Train acc: 0.998333\n",
      "Epoch: 931/1000 Iteration: 8380 Validation loss: 0.037200 Validation acc: 0.989444\n",
      "Epoch: 931/1000 Iteration: 8385 Train loss: 0.014094 Train acc: 0.995000\n",
      "Epoch: 932/1000 Iteration: 8390 Train loss: 0.006968 Train acc: 0.998333\n",
      "Epoch: 932/1000 Iteration: 8390 Validation loss: 0.037372 Validation acc: 0.990000\n",
      "Epoch: 932/1000 Iteration: 8395 Train loss: 0.012674 Train acc: 0.996667\n",
      "Epoch: 933/1000 Iteration: 8400 Train loss: 0.017481 Train acc: 0.991667\n",
      "Epoch: 933/1000 Iteration: 8400 Validation loss: 0.036313 Validation acc: 0.990000\n",
      "Epoch: 933/1000 Iteration: 8405 Train loss: 0.009210 Train acc: 1.000000\n",
      "Epoch: 934/1000 Iteration: 8410 Train loss: 0.015029 Train acc: 0.993333\n",
      "Epoch: 934/1000 Iteration: 8410 Validation loss: 0.037632 Validation acc: 0.988333\n",
      "Epoch: 934/1000 Iteration: 8415 Train loss: 0.011811 Train acc: 0.998333\n",
      "Epoch: 935/1000 Iteration: 8420 Train loss: 0.017783 Train acc: 0.991667\n",
      "Epoch: 935/1000 Iteration: 8420 Validation loss: 0.037007 Validation acc: 0.989444\n",
      "Epoch: 936/1000 Iteration: 8425 Train loss: 0.011072 Train acc: 0.998333\n",
      "Epoch: 936/1000 Iteration: 8430 Train loss: 0.011429 Train acc: 0.996667\n",
      "Epoch: 936/1000 Iteration: 8430 Validation loss: 0.037242 Validation acc: 0.988889\n",
      "Epoch: 937/1000 Iteration: 8435 Train loss: 0.004680 Train acc: 1.000000\n",
      "Epoch: 937/1000 Iteration: 8440 Train loss: 0.011469 Train acc: 1.000000\n",
      "Epoch: 937/1000 Iteration: 8440 Validation loss: 0.037193 Validation acc: 0.988889\n",
      "Epoch: 938/1000 Iteration: 8445 Train loss: 0.015579 Train acc: 0.996667\n",
      "Epoch: 938/1000 Iteration: 8450 Train loss: 0.009176 Train acc: 0.996667\n",
      "Epoch: 938/1000 Iteration: 8450 Validation loss: 0.038078 Validation acc: 0.989444\n",
      "Epoch: 939/1000 Iteration: 8455 Train loss: 0.018060 Train acc: 0.991667\n",
      "Epoch: 939/1000 Iteration: 8460 Train loss: 0.011551 Train acc: 0.996667\n",
      "Epoch: 939/1000 Iteration: 8460 Validation loss: 0.037339 Validation acc: 0.988889\n",
      "Epoch: 940/1000 Iteration: 8465 Train loss: 0.016510 Train acc: 0.996667\n",
      "Epoch: 941/1000 Iteration: 8470 Train loss: 0.012440 Train acc: 0.993333\n",
      "Epoch: 941/1000 Iteration: 8470 Validation loss: 0.036348 Validation acc: 0.990000\n",
      "Epoch: 941/1000 Iteration: 8475 Train loss: 0.012161 Train acc: 0.998333\n",
      "Epoch: 942/1000 Iteration: 8480 Train loss: 0.005280 Train acc: 1.000000\n",
      "Epoch: 942/1000 Iteration: 8480 Validation loss: 0.036993 Validation acc: 0.989444\n",
      "Epoch: 942/1000 Iteration: 8485 Train loss: 0.012490 Train acc: 0.996667\n",
      "Epoch: 943/1000 Iteration: 8490 Train loss: 0.015667 Train acc: 0.993333\n",
      "Epoch: 943/1000 Iteration: 8490 Validation loss: 0.036466 Validation acc: 0.990556\n",
      "Epoch: 943/1000 Iteration: 8495 Train loss: 0.009495 Train acc: 0.995000\n",
      "Epoch: 944/1000 Iteration: 8500 Train loss: 0.017061 Train acc: 0.993333\n",
      "Epoch: 944/1000 Iteration: 8500 Validation loss: 0.036487 Validation acc: 0.990000\n",
      "Epoch: 944/1000 Iteration: 8505 Train loss: 0.013258 Train acc: 0.996667\n",
      "Epoch: 945/1000 Iteration: 8510 Train loss: 0.016050 Train acc: 0.995000\n",
      "Epoch: 945/1000 Iteration: 8510 Validation loss: 0.036385 Validation acc: 0.989444\n",
      "Epoch: 946/1000 Iteration: 8515 Train loss: 0.010620 Train acc: 0.998333\n",
      "Epoch: 946/1000 Iteration: 8520 Train loss: 0.010010 Train acc: 0.998333\n",
      "Epoch: 946/1000 Iteration: 8520 Validation loss: 0.035813 Validation acc: 0.990556\n",
      "Epoch: 947/1000 Iteration: 8525 Train loss: 0.006378 Train acc: 0.998333\n",
      "Epoch: 947/1000 Iteration: 8530 Train loss: 0.010079 Train acc: 0.996667\n",
      "Epoch: 947/1000 Iteration: 8530 Validation loss: 0.036285 Validation acc: 0.990556\n",
      "Epoch: 948/1000 Iteration: 8535 Train loss: 0.014551 Train acc: 0.996667\n",
      "Epoch: 948/1000 Iteration: 8540 Train loss: 0.007953 Train acc: 1.000000\n",
      "Epoch: 948/1000 Iteration: 8540 Validation loss: 0.037003 Validation acc: 0.990000\n",
      "Epoch: 949/1000 Iteration: 8545 Train loss: 0.018422 Train acc: 0.993333\n",
      "Epoch: 949/1000 Iteration: 8550 Train loss: 0.013304 Train acc: 0.996667\n",
      "Epoch: 949/1000 Iteration: 8550 Validation loss: 0.036717 Validation acc: 0.990000\n",
      "Epoch: 950/1000 Iteration: 8555 Train loss: 0.019627 Train acc: 0.988333\n",
      "Epoch: 951/1000 Iteration: 8560 Train loss: 0.013763 Train acc: 0.995000\n",
      "Epoch: 951/1000 Iteration: 8560 Validation loss: 0.035799 Validation acc: 0.989444\n",
      "Epoch: 951/1000 Iteration: 8565 Train loss: 0.009762 Train acc: 0.996667\n",
      "Epoch: 952/1000 Iteration: 8570 Train loss: 0.004998 Train acc: 1.000000\n",
      "Epoch: 952/1000 Iteration: 8570 Validation loss: 0.037237 Validation acc: 0.990000\n",
      "Epoch: 952/1000 Iteration: 8575 Train loss: 0.010607 Train acc: 0.995000\n",
      "Epoch: 953/1000 Iteration: 8580 Train loss: 0.013816 Train acc: 0.998333\n",
      "Epoch: 953/1000 Iteration: 8580 Validation loss: 0.036882 Validation acc: 0.990556\n",
      "Epoch: 953/1000 Iteration: 8585 Train loss: 0.006808 Train acc: 0.998333\n",
      "Epoch: 954/1000 Iteration: 8590 Train loss: 0.016399 Train acc: 0.996667\n",
      "Epoch: 954/1000 Iteration: 8590 Validation loss: 0.036061 Validation acc: 0.990000\n",
      "Epoch: 954/1000 Iteration: 8595 Train loss: 0.011864 Train acc: 0.995000\n",
      "Epoch: 955/1000 Iteration: 8600 Train loss: 0.013496 Train acc: 0.998333\n",
      "Epoch: 955/1000 Iteration: 8600 Validation loss: 0.034904 Validation acc: 0.991111\n",
      "Epoch: 956/1000 Iteration: 8605 Train loss: 0.011570 Train acc: 1.000000\n",
      "Epoch: 956/1000 Iteration: 8610 Train loss: 0.008249 Train acc: 1.000000\n",
      "Epoch: 956/1000 Iteration: 8610 Validation loss: 0.035653 Validation acc: 0.989444\n",
      "Epoch: 957/1000 Iteration: 8615 Train loss: 0.004771 Train acc: 1.000000\n",
      "Epoch: 957/1000 Iteration: 8620 Train loss: 0.009408 Train acc: 0.998333\n",
      "Epoch: 957/1000 Iteration: 8620 Validation loss: 0.037351 Validation acc: 0.988333\n",
      "Epoch: 958/1000 Iteration: 8625 Train loss: 0.013489 Train acc: 0.996667\n",
      "Epoch: 958/1000 Iteration: 8630 Train loss: 0.007940 Train acc: 0.998333\n",
      "Epoch: 958/1000 Iteration: 8630 Validation loss: 0.036858 Validation acc: 0.988889\n",
      "Epoch: 959/1000 Iteration: 8635 Train loss: 0.018666 Train acc: 0.995000\n",
      "Epoch: 959/1000 Iteration: 8640 Train loss: 0.010859 Train acc: 0.998333\n",
      "Epoch: 959/1000 Iteration: 8640 Validation loss: 0.035657 Validation acc: 0.990000\n",
      "Epoch: 960/1000 Iteration: 8645 Train loss: 0.016807 Train acc: 0.993333\n",
      "Epoch: 961/1000 Iteration: 8650 Train loss: 0.007920 Train acc: 1.000000\n",
      "Epoch: 961/1000 Iteration: 8650 Validation loss: 0.035913 Validation acc: 0.990000\n",
      "Epoch: 961/1000 Iteration: 8655 Train loss: 0.014031 Train acc: 0.993333\n",
      "Epoch: 962/1000 Iteration: 8660 Train loss: 0.008005 Train acc: 0.998333\n",
      "Epoch: 962/1000 Iteration: 8660 Validation loss: 0.036509 Validation acc: 0.988889\n",
      "Epoch: 962/1000 Iteration: 8665 Train loss: 0.012092 Train acc: 0.995000\n",
      "Epoch: 963/1000 Iteration: 8670 Train loss: 0.016763 Train acc: 0.996667\n",
      "Epoch: 963/1000 Iteration: 8670 Validation loss: 0.036361 Validation acc: 0.988889\n",
      "Epoch: 963/1000 Iteration: 8675 Train loss: 0.005110 Train acc: 1.000000\n",
      "Epoch: 964/1000 Iteration: 8680 Train loss: 0.013093 Train acc: 0.998333\n",
      "Epoch: 964/1000 Iteration: 8680 Validation loss: 0.036579 Validation acc: 0.989444\n",
      "Epoch: 964/1000 Iteration: 8685 Train loss: 0.010773 Train acc: 0.998333\n",
      "Epoch: 965/1000 Iteration: 8690 Train loss: 0.011139 Train acc: 0.998333\n",
      "Epoch: 965/1000 Iteration: 8690 Validation loss: 0.036965 Validation acc: 0.989444\n",
      "Epoch: 966/1000 Iteration: 8695 Train loss: 0.008202 Train acc: 1.000000\n",
      "Epoch: 966/1000 Iteration: 8700 Train loss: 0.010413 Train acc: 0.996667\n",
      "Epoch: 966/1000 Iteration: 8700 Validation loss: 0.036681 Validation acc: 0.990000\n",
      "Epoch: 967/1000 Iteration: 8705 Train loss: 0.006357 Train acc: 0.998333\n",
      "Epoch: 967/1000 Iteration: 8710 Train loss: 0.008703 Train acc: 0.998333\n",
      "Epoch: 967/1000 Iteration: 8710 Validation loss: 0.036056 Validation acc: 0.990000\n",
      "Epoch: 968/1000 Iteration: 8715 Train loss: 0.016586 Train acc: 0.991667\n",
      "Epoch: 968/1000 Iteration: 8720 Train loss: 0.007365 Train acc: 0.998333\n",
      "Epoch: 968/1000 Iteration: 8720 Validation loss: 0.037000 Validation acc: 0.988889\n",
      "Epoch: 969/1000 Iteration: 8725 Train loss: 0.017330 Train acc: 0.993333\n",
      "Epoch: 969/1000 Iteration: 8730 Train loss: 0.011938 Train acc: 0.995000\n",
      "Epoch: 969/1000 Iteration: 8730 Validation loss: 0.038425 Validation acc: 0.989444\n",
      "Epoch: 970/1000 Iteration: 8735 Train loss: 0.013826 Train acc: 0.995000\n",
      "Epoch: 971/1000 Iteration: 8740 Train loss: 0.011717 Train acc: 0.996667\n",
      "Epoch: 971/1000 Iteration: 8740 Validation loss: 0.037041 Validation acc: 0.988889\n",
      "Epoch: 971/1000 Iteration: 8745 Train loss: 0.008967 Train acc: 0.996667\n",
      "Epoch: 972/1000 Iteration: 8750 Train loss: 0.007307 Train acc: 0.996667\n",
      "Epoch: 972/1000 Iteration: 8750 Validation loss: 0.037120 Validation acc: 0.989444\n",
      "Epoch: 972/1000 Iteration: 8755 Train loss: 0.012116 Train acc: 0.996667\n",
      "Epoch: 973/1000 Iteration: 8760 Train loss: 0.015713 Train acc: 0.995000\n",
      "Epoch: 973/1000 Iteration: 8760 Validation loss: 0.035337 Validation acc: 0.991111\n",
      "Epoch: 973/1000 Iteration: 8765 Train loss: 0.006491 Train acc: 1.000000\n",
      "Epoch: 974/1000 Iteration: 8770 Train loss: 0.014951 Train acc: 0.996667\n",
      "Epoch: 974/1000 Iteration: 8770 Validation loss: 0.036371 Validation acc: 0.988889\n",
      "Epoch: 974/1000 Iteration: 8775 Train loss: 0.011388 Train acc: 0.998333\n",
      "Epoch: 975/1000 Iteration: 8780 Train loss: 0.012462 Train acc: 0.996667\n",
      "Epoch: 975/1000 Iteration: 8780 Validation loss: 0.035505 Validation acc: 0.991111\n",
      "Epoch: 976/1000 Iteration: 8785 Train loss: 0.011572 Train acc: 1.000000\n",
      "Epoch: 976/1000 Iteration: 8790 Train loss: 0.010330 Train acc: 0.995000\n",
      "Epoch: 976/1000 Iteration: 8790 Validation loss: 0.035970 Validation acc: 0.991111\n",
      "Epoch: 977/1000 Iteration: 8795 Train loss: 0.006150 Train acc: 1.000000\n",
      "Epoch: 977/1000 Iteration: 8800 Train loss: 0.010317 Train acc: 0.995000\n",
      "Epoch: 977/1000 Iteration: 8800 Validation loss: 0.035887 Validation acc: 0.990556\n",
      "Epoch: 978/1000 Iteration: 8805 Train loss: 0.014198 Train acc: 0.995000\n",
      "Epoch: 978/1000 Iteration: 8810 Train loss: 0.005454 Train acc: 1.000000\n",
      "Epoch: 978/1000 Iteration: 8810 Validation loss: 0.037047 Validation acc: 0.989444\n",
      "Epoch: 979/1000 Iteration: 8815 Train loss: 0.018346 Train acc: 0.993333\n",
      "Epoch: 979/1000 Iteration: 8820 Train loss: 0.009468 Train acc: 1.000000\n",
      "Epoch: 979/1000 Iteration: 8820 Validation loss: 0.036376 Validation acc: 0.989444\n",
      "Epoch: 980/1000 Iteration: 8825 Train loss: 0.015600 Train acc: 0.996667\n",
      "Epoch: 981/1000 Iteration: 8830 Train loss: 0.009967 Train acc: 0.996667\n",
      "Epoch: 981/1000 Iteration: 8830 Validation loss: 0.036075 Validation acc: 0.990000\n",
      "Epoch: 981/1000 Iteration: 8835 Train loss: 0.010336 Train acc: 0.998333\n",
      "Epoch: 982/1000 Iteration: 8840 Train loss: 0.006885 Train acc: 0.998333\n",
      "Epoch: 982/1000 Iteration: 8840 Validation loss: 0.035632 Validation acc: 0.990556\n",
      "Epoch: 982/1000 Iteration: 8845 Train loss: 0.009093 Train acc: 1.000000\n",
      "Epoch: 983/1000 Iteration: 8850 Train loss: 0.015625 Train acc: 0.995000\n",
      "Epoch: 983/1000 Iteration: 8850 Validation loss: 0.035737 Validation acc: 0.989444\n",
      "Epoch: 983/1000 Iteration: 8855 Train loss: 0.006935 Train acc: 0.998333\n",
      "Epoch: 984/1000 Iteration: 8860 Train loss: 0.013431 Train acc: 0.996667\n",
      "Epoch: 984/1000 Iteration: 8860 Validation loss: 0.035512 Validation acc: 0.990556\n",
      "Epoch: 984/1000 Iteration: 8865 Train loss: 0.011084 Train acc: 0.996667\n",
      "Epoch: 985/1000 Iteration: 8870 Train loss: 0.011586 Train acc: 0.998333\n",
      "Epoch: 985/1000 Iteration: 8870 Validation loss: 0.035027 Validation acc: 0.991667\n",
      "Epoch: 986/1000 Iteration: 8875 Train loss: 0.010724 Train acc: 0.996667\n",
      "Epoch: 986/1000 Iteration: 8880 Train loss: 0.006667 Train acc: 1.000000\n",
      "Epoch: 986/1000 Iteration: 8880 Validation loss: 0.035869 Validation acc: 0.990000\n",
      "Epoch: 987/1000 Iteration: 8885 Train loss: 0.005493 Train acc: 0.998333\n",
      "Epoch: 987/1000 Iteration: 8890 Train loss: 0.012111 Train acc: 0.996667\n",
      "Epoch: 987/1000 Iteration: 8890 Validation loss: 0.036205 Validation acc: 0.988889\n",
      "Epoch: 988/1000 Iteration: 8895 Train loss: 0.016154 Train acc: 0.995000\n",
      "Epoch: 988/1000 Iteration: 8900 Train loss: 0.006533 Train acc: 1.000000\n",
      "Epoch: 988/1000 Iteration: 8900 Validation loss: 0.036486 Validation acc: 0.988889\n",
      "Epoch: 989/1000 Iteration: 8905 Train loss: 0.014841 Train acc: 0.996667\n",
      "Epoch: 989/1000 Iteration: 8910 Train loss: 0.011327 Train acc: 0.998333\n",
      "Epoch: 989/1000 Iteration: 8910 Validation loss: 0.037151 Validation acc: 0.988889\n",
      "Epoch: 990/1000 Iteration: 8915 Train loss: 0.017149 Train acc: 0.993333\n",
      "Epoch: 991/1000 Iteration: 8920 Train loss: 0.007660 Train acc: 1.000000\n",
      "Epoch: 991/1000 Iteration: 8920 Validation loss: 0.035486 Validation acc: 0.991667\n",
      "Epoch: 991/1000 Iteration: 8925 Train loss: 0.011484 Train acc: 0.995000\n",
      "Epoch: 992/1000 Iteration: 8930 Train loss: 0.006230 Train acc: 0.998333\n",
      "Epoch: 992/1000 Iteration: 8930 Validation loss: 0.035107 Validation acc: 0.991111\n",
      "Epoch: 992/1000 Iteration: 8935 Train loss: 0.010922 Train acc: 0.996667\n",
      "Epoch: 993/1000 Iteration: 8940 Train loss: 0.012631 Train acc: 0.996667\n",
      "Epoch: 993/1000 Iteration: 8940 Validation loss: 0.035349 Validation acc: 0.991111\n",
      "Epoch: 993/1000 Iteration: 8945 Train loss: 0.006907 Train acc: 1.000000\n",
      "Epoch: 994/1000 Iteration: 8950 Train loss: 0.014329 Train acc: 0.996667\n",
      "Epoch: 994/1000 Iteration: 8950 Validation loss: 0.035473 Validation acc: 0.989444\n",
      "Epoch: 994/1000 Iteration: 8955 Train loss: 0.010397 Train acc: 0.998333\n",
      "Epoch: 995/1000 Iteration: 8960 Train loss: 0.015817 Train acc: 0.993333\n",
      "Epoch: 995/1000 Iteration: 8960 Validation loss: 0.036808 Validation acc: 0.989444\n",
      "Epoch: 996/1000 Iteration: 8965 Train loss: 0.008025 Train acc: 1.000000\n",
      "Epoch: 996/1000 Iteration: 8970 Train loss: 0.005319 Train acc: 1.000000\n",
      "Epoch: 996/1000 Iteration: 8970 Validation loss: 0.036113 Validation acc: 0.990556\n",
      "Epoch: 997/1000 Iteration: 8975 Train loss: 0.004760 Train acc: 0.998333\n",
      "Epoch: 997/1000 Iteration: 8980 Train loss: 0.010419 Train acc: 0.996667\n",
      "Epoch: 997/1000 Iteration: 8980 Validation loss: 0.036390 Validation acc: 0.989444\n",
      "Epoch: 998/1000 Iteration: 8985 Train loss: 0.013644 Train acc: 0.995000\n",
      "Epoch: 998/1000 Iteration: 8990 Train loss: 0.007579 Train acc: 0.996667\n",
      "Epoch: 998/1000 Iteration: 8990 Validation loss: 0.036376 Validation acc: 0.990556\n",
      "Epoch: 999/1000 Iteration: 8995 Train loss: 0.014398 Train acc: 0.995000\n",
      "Epoch: 999/1000 Iteration: 9000 Train loss: 0.010480 Train acc: 1.000000\n",
      "Epoch: 999/1000 Iteration: 9000 Validation loss: 0.035283 Validation acc: 0.991111\n"
     ]
    }
   ],
   "source": [
    "validation_acc = []\n",
    "validation_loss = []\n",
    "\n",
    "train_acc = []\n",
    "train_loss = []\n",
    "\n",
    "with graph.as_default():\n",
    "    saver = tf.train.Saver()\n",
    "\n",
    "with tf.Session(graph=graph) as sess:\n",
    "    sess.run(tf.global_variables_initializer())\n",
    "    iteration = 1\n",
    "   \n",
    "    # Loop over epochs\n",
    "    for e in range(epochs):\n",
    "        \n",
    "        # Loop over batches\n",
    "        for x,y in get_batches(X_tr, y_tr, batch_size):\n",
    "            \n",
    "            # Feed dictionary\n",
    "            feed = {inputs_ : x, labels_ : y, keep_prob_ : 0.5, learning_rate_ : learning_rate}\n",
    "            \n",
    "            # Loss\n",
    "            loss, _ , acc = sess.run([cost, optimizer, accuracy], feed_dict = feed)\n",
    "            train_acc.append(acc)\n",
    "            train_loss.append(loss)\n",
    "            \n",
    "            # Print at each 5 iters\n",
    "            if (iteration % 5 == 0):\n",
    "                print(\"Epoch: {}/{}\".format(e, epochs),\n",
    "                      \"Iteration: {:d}\".format(iteration),\n",
    "                      \"Train loss: {:6f}\".format(loss),\n",
    "                      \"Train acc: {:.6f}\".format(acc))\n",
    "            \n",
    "            # Compute validation loss at every 10 iterations\n",
    "            if (iteration%10 == 0):                \n",
    "                val_acc_ = []\n",
    "                val_loss_ = []\n",
    "                \n",
    "                for x_v, y_v in get_batches(X_vld, y_vld, batch_size):\n",
    "                    # Feed\n",
    "                    feed = {inputs_ : x_v, labels_ : y_v, keep_prob_ : 1.0}  \n",
    "                    \n",
    "                    # Loss\n",
    "                    loss_v, acc_v = sess.run([cost, accuracy], feed_dict = feed)                    \n",
    "                    val_acc_.append(acc_v)\n",
    "                    val_loss_.append(loss_v)\n",
    "                \n",
    "                # Print info\n",
    "                print(\"Epoch: {}/{}\".format(e, epochs),\n",
    "                      \"Iteration: {:d}\".format(iteration),\n",
    "                      \"Validation loss: {:6f}\".format(np.mean(val_loss_)),\n",
    "                      \"Validation acc: {:.6f}\".format(np.mean(val_acc_)))\n",
    "                \n",
    "                # Store\n",
    "                validation_acc.append(np.mean(val_acc_))\n",
    "                validation_loss.append(np.mean(val_loss_))\n",
    "            \n",
    "            # Iterate \n",
    "            iteration += 1\n",
    "    \n",
    "    saver.save(sess,\"checkpoints-cnn/har.ckpt\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {
    "collapsed": false,
    "deletable": true,
    "editable": true
   },
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYwAAAF3CAYAAAC2bHyQAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3X18VOWZ//HPRQgkAUUExAAq+FArIAJGtNX6UK1C3Wql\nVrHYqq1lwbrt7r7s1m1f267we/DXp3VtNdTWh12rosWo1GqtbWUtVi1BAQGrIGBJgZCCIEIChFy/\nP+6TZJLMJJMwkzPJfN+v17xm5pwzM9ccklzc577v6zZ3R0REpCN94g5ARER6BiUMERFJixKGiIik\nRQlDRETSooQhIiJpUcIQEZG0KGGIiEhalDBERCQtShgiIpIWJQwREUlL37gDyKShQ4f66NGj4w5D\nRKTHWLZs2d/cfVg6x/aqhDF69GgqKyvjDkNEpMcws3fTPVaXpEREJC1KGCIikhYlDBERSUuv6sMQ\nkd7jwIEDVFVVUVdXF3covUJRURGjRo2isLCwy++hhCEiOamqqorDDjuM0aNHY2Zxh9OjuTvbt2+n\nqqqKMWPGdPl9dElKRHJSXV0dQ4YMUbLIADNjyJAhh9xaU8IQkZylZJE5mTiXShgiIkns3LmTu+++\nu9Ov++QnP8nOnTuzEFH8lDBERJJIlTAOHjzY7uueeeYZjjjiiGyFFSt1eouIJHHrrbfyzjvvMHHi\nRAoLCxk4cCClpaUsX76cNWvW8OlPf5pNmzZRV1fH1772NWbNmgU0V5z44IMPmDZtGueccw5//OMf\nGTlyJE899RTFxcUxf7OuU8IQkdz3j/8Iy5dn9j0nToQ77ki5+/bbb2fVqlUsX76cxYsXc+mll7Jq\n1aqmUUb33XcfRx55JLW1tZxxxhl85jOfYciQIS3eY+3atTzyyCP89Kc/5aqrruLxxx/n2muvzez3\n6Ea6JAXw/PPw5ptxRyEiOWzKlCkthqTeeeednHbaaZx11lls2rSJtWvXtnnNmDFjmDhxIgCnn346\nGzdu7K5ws0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JRU5ErkJggg==\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7fbc2d64f0f0>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# Plot training and test loss\n",
    "t = np.arange(iteration-1)\n",
    "\n",
    "plt.figure(figsize = (6,6))\n",
    "plt.plot(t, np.array(train_loss), 'r-', t[t % 10 == 0], np.array(validation_loss), 'b*')\n",
    "plt.xlabel(\"iteration\")\n",
    "plt.ylabel(\"Loss\")\n",
    "plt.legend(['train', 'validation'], loc='upper right')\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {
    "collapsed": false,
    "deletable": true,
    "editable": true
   },
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAF3CAYAAABKeVdaAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3X18VOWd///XJyEwCYK3KBFUbtQqKIJEV1sr1lrv76jW\nUujualstUmu7+227uq3alW23rfrrza8UpbZd11pvqmhvvrquulC1rS1BERVEISAiIaYoiJBAQj7f\nP64zk5lkcgPJ5Ew47+fjMY8558yZcz5zMrk+c65zXdcxd0dERASgJO4ARESkeCgpiIhIhpKCiIhk\nKCmIiEiGkoKIiGQoKYiISIaSgoiIZCgpiIhIhpKCiIhkKCmIiEjGgLgD2FUHHHCAjxo1Ku4wRET6\nlcWLF//N3Yd1tV6/SwqjRo2iuro67jBERPoVM3ujO+up+khERDKUFEREJENJQUREMvrdNQUR2bM0\nNTWxbt06Ghsb4w5lj5BKpRg5ciRlZWW79X4lBRGJ1bp16xgyZAijRo3CzOIOp19zdzZu3Mi6desY\nPXr0bm1D1UciEqvGxkb2339/JYReYGbsv//+PTrrUlIQkdgpIfSenh5LJQURSbRNmzbxk5/8ZJff\nd+6557Jp06YCRBQvJQURSbSOksLOnTs7fd+jjz7KPvvsU6iwYlOwpGBmPzezt83s5Q5eNzP7kZ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Hu46sM4WocN/s\n7ieY2SDgj2b2P9G6JwLHeBgmGeAz7v6OmZUDi8zsIXe/zsyucfeJefb1cULP4uOAA6L3PB29NgkY\nTxg754+EsZue7f2PK9IxnSmItHcmYdyfJYShx/cnjGkD8NeshABwrZm9CDxHGBjtCDp3CnCvu+90\n9zrgD8AJWdte5+4thCFKRvXKpxHZBTpTEGnPgC+6e85Ab9G1h61t5s8ATnb3bWa2kDBGTlfb7sj2\nrOmd6P9TYqAzBRHYQrh9adrjwNXRMOSY2ZHRDWna2ht4N0oIRxFuW5nWlH5/G08Dn4yuWwwj3A2t\nf4+qKXsU/RIRCaOGNkfVQP8J/JBQdfN8dLG3ntbbMmb7b2CmmS0ljJD5XNZr84ClZva8h+G60x4G\nTibc19eBr7n7hiipiMROTVJFRCRD1UciIpKhpCAiIhlKCiIikqGkICIiGUoKIiKSoaQgIiIZSgoi\nIpKhpCAiIhn/DwAGYABzepTRAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7fbbde98f828>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# Plot Accuracies\n",
    "plt.figure(figsize = (6,6))\n",
    "\n",
    "plt.plot(t, np.array(train_acc), 'r-', t[t % 10 == 0], validation_acc, 'b*')\n",
    "plt.xlabel(\"iteration\")\n",
    "plt.ylabel(\"Accuray\")\n",
    "plt.legend(['train', 'validation'], loc='upper right')\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "deletable": true,
    "editable": true
   },
   "source": [
    "## Evaluate on test set"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {
    "collapsed": false,
    "deletable": true,
    "editable": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Test accuracy: 0.930417\n"
     ]
    }
   ],
   "source": [
    "test_acc = []\n",
    "\n",
    "with tf.Session(graph=graph) as sess:\n",
    "    # Restore\n",
    "    saver.restore(sess, tf.train.latest_checkpoint('checkpoints-cnn'))\n",
    "    \n",
    "    for x_t, y_t in get_batches(X_test, y_test, batch_size):\n",
    "        feed = {inputs_: x_t,\n",
    "                labels_: y_t,\n",
    "                keep_prob_: 1}\n",
    "        \n",
    "        batch_acc = sess.run(accuracy, feed_dict=feed)\n",
    "        test_acc.append(batch_acc)\n",
    "    print(\"Test accuracy: {:.6f}\".format(np.mean(test_acc)))"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.5.2"
  },
  "widgets": {
   "state": {},
   "version": "1.1.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
